| Home | Trees | Index | Help |
|
|---|
|
|
object --+
|
Index --+
|
FilesIndex
|
|||
|
Inherited from |
|||
|
|||
| _compute_from_rules(self, files_list, package_dir, files_rules) | |||
| get_score(self, name, specs) | |||
|
get_not_used(self,
files_rules)
Get only these of files_rules that didn't match during computation. |
|||
|
match_filename(self,
name,
rule)
Check if name matches given rule.
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
| _used_rules | |||
| name | |||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
Get only these of files_rules that didn't match during computation.
>>> rules = {
... Doc('readme'): 30,
... OneOf(Doc('license'), Doc('copying')): 30,
... 'demo': 10,
... }
>>> index = FilesIndex()
>>> index._used_rules.append('demo')
>>> map(lambda x: str(x), index.get_not_used(rules.keys()))
['license/license.html/license.txt/copying/copying.html/copying.txt', 'readme/readme.html/readme.txt']
|
rule.
|
|
|||
_used_rules
|
name
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 3.0alpha2 on Sat Aug 12 02:53:38 2006 | http://epydoc.sf.net |