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

Class FileSource

source code

     object --+    
              |    
RetrievalMethod --+
                  |
                 FileSource

A FileSource provides a way to fetch a single file.

Instance Methods
 
__init__(self, url, dest, size)
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, url, dest, size)
(Constructor)

source code 

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

Parameters:
  • url (str)
  • dest (str)
  • size (int)
Overrides: object.__init__