Module DistfilesCleaner :: Class DistfilesCleanerSmallFiles
[show private | hide private]
[frames | no frames]

Class DistfilesCleanerSmallFiles

DistfilesCleaner --+
                   |
                  DistfilesCleanerSmallFiles


policy: it removes all the files smaller than 1024 KB. The idea is that you can download those in small time window
Method Summary
  select_files_to_delete(self, hash)
policy for the clean: this method leaves in the hash the entries that you want to delete.
    Inherited from DistfilesCleaner
  perform(self)
Deletes the files that the policy dictates.
  set_distdir(self, szDir)
sets the distdir directory to a custom value
  set_pretend(self, bValue)
sets the pretend (do nothing) flag

Class Variable Summary
    Inherited from DistfilesCleaner
str distfile_path = '/usr/portage/distfiles'
int pretend = 0                                                                     

Method Details

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
Overrides:
DistfilesCleaner.DistfilesCleaner.select_files_to_delete (inherited documentation)

Generated by Epydoc 2.0 on Sat Apr 10 16:01:51 2004 http://epydoc.sf.net