equal
deleted
inserted
replaced
35 from .utils import hashutil |
35 from .utils import hashutil |
36 |
36 |
37 parsers = policy.importmod('parsers') |
37 parsers = policy.importmod('parsers') |
38 # how much bytes should be read from fncache in one read |
38 # how much bytes should be read from fncache in one read |
39 # It is done to prevent loading large fncache files into memory |
39 # It is done to prevent loading large fncache files into memory |
40 fncache_chunksize = 10**6 |
40 fncache_chunksize = 10 ** 6 |
41 |
41 |
42 |
42 |
43 def _match_tracked_entry(entry, matcher): |
43 def _match_tracked_entry(entry, matcher): |
44 """parses a fncache entry and returns whether the entry is tracking a path |
44 """parses a fncache entry and returns whether the entry is tracking a path |
45 matched by matcher or not. |
45 matched by matcher or not. |