Package zeroinstall :: Package injector :: Module fetch
[frames] | no frames]

Module fetch

source code

Downloads feeds, keys, packages and icons.

Classes
  KeyInfoFetcher
Fetches information about a GPG key from a key-info server.
  Fetcher
Downloads and stores various things.
  StepRunner
The base class of all step runners.
  RenameStepRunner
A step runner for the <rename> step.
  RemoveStepRunner
A step runner for the <remove> step.
  DownloadStepRunner
A step runner for the <archive> step.
  FileStepRunner
A step runner for the <file> step.
Functions
str
native_path_within_base(base, crossplatform_path)
Takes a cross-platform relative path (i.e using forward slashes, even on windows) and returns the absolute, platform-native version of the path.
source code
Function Details

native_path_within_base(base, crossplatform_path)

source code 

Takes a cross-platform relative path (i.e using forward slashes, even on windows) and returns the absolute, platform-native version of the path. If the path does not resolve to a location within `base`, a SafeError is raised.

Parameters:
  • base (str)
  • crossplatform_path (str)
Returns: str

Since: 1.10