Package daklib :: Module contents :: Class BinaryContentsWriter
[hide private]
[frames] | no frames]

Class BinaryContentsWriter

source code

BinaryContentsWriter writes the Contents-$arch.gz files.

Instance Methods [hide private]
 
__init__(self, suite, architecture, overridetype, component) source code
 
query(self)
Returns a query object that is doing most of the work.
source code
 
formatline(self, filename, package_list)
Returns a formatted string for the filename argument.
source code
 
fetch(self)
Yields a new line of the Contents-$arch.gz file in filename order.
source code
 
get_list(self)
Returns a list of lines for the Contents-$arch.gz file.
source code
 
writer(self)
Returns a writer object.
source code
 
write_file(self)
Write the output file.
source code