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

Class UnpackedSource

source code

UnpackedSource extracts a source package into a temporary location and gives you some convinient function for accessing it.

Instance Methods [hide private]
 
__init__(self, dscfilename, tmpbasedir=None)
The dscfilename is a name of a DSC file that will be extracted.
source code
 
get_root_directory(self)
Returns the name of the package's root directory which is the directory where the debian subdirectory is located.
source code
 
get_all_filenames(self)
Returns an iterator over all filenames.
source code
 
cleanup(self)
Removes all temporary files.
source code
 
__del__(self)
Enforce cleanup.
source code
Method Details [hide private]

get_all_filenames(self)

source code 

Returns an iterator over all filenames. The filenames will be relative to the root directory.