Package archive :: Module mappers :: Class DefaultMapper
[hide private]
[frames] | no frames]

Class DefaultMapper

source code

object --+    
         |    
    Mapper --+
             |
            DefaultMapper

The default mapper. It splits the content based on size characteristics.

'the max.files.per.archive' and 'max.uncompressed.size' properties define how the input files are split between a number of part zips.



Instance Methods [hide private]
 
__init__(self, config, archiver)
Initialization.
source code
 
create_commands(self, manifest)
Return a list of command lists.
source code
 
_split_manifest_file(self, name, manifest_file_path)
This method return a list of files that contain the content of the zip parts to create.
source code

Inherited from Mapper: declare_package

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, config, archiver)
(Constructor)

source code 
Initialization.
Overrides: Mapper.__init__

create_commands(self, manifest)

source code 
Return a list of command lists.
Overrides: Mapper.create_commands