Home | Trees | Index | Help |
---|
Module DistfilesCleaner :: Class DistfilesCleaner |
|
DistfilesCleanerNonInstalled
,
DistfilesCleanerSmallFiles
Abstract class
All the differents polices for cleaning the distfiles directories, should inherit from this class, and override the abstract methods (the one that have the pass keywords)Method Summary | |
---|---|
Deletes the files that the policy dictates. | |
policy for the clean: this method leaves in the hash the entries that you want to delete. | |
sets the distdir directory to a custom value | |
sets the pretend (do nothing) flag |
Class Variable Summary | |
---|---|
str |
distfile_path = '/usr/portage/distfiles'
|
int |
pretend = 0 |
Method Details |
---|
perform(self)Deletes the files that the policy dictates. if the self.pretend variable is True, it has to print the files. |
select_files_to_delete(self, hash)policy for the clean: this method leaves in the hash the entries that you want to delete. When the method is called the hash contains all the source files avalailable Abstract |
set_distdir(self, szDir)sets the distdir directory to a custom value |
set_pretend(self, bValue)sets the pretend (do nothing) flag |
Class Variable Details |
---|
distfile_path
|
pretend
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Apr 10 16:01:51 2004 | http://epydoc.sf.net |