Package zeroinstall :: Package injector :: Module model :: Class DownloadSource
[frames] | no frames]

Class DownloadSource

source code

     object --+    
              |    
RetrievalMethod --+
                  |
                 DownloadSource

A DownloadSource provides a way to fetch an implementation.

Instance Methods
 
__init__(self, implementation, url, size, extract, start_offset=0, type=None, dest=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, implementation, url, size, extract, start_offset=0, type=None, dest=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • implementation (ZeroInstallImplementation)
  • extract (str)
  • start_offset (int)
  • dest (str | None)
  • url (str)
  • type (str | None)
  • size (int)
Overrides: object.__init__