(self, k)
| 80 | path = property(_get_path, _set_path) |
| 81 | |
| 82 | def _hash(self, k): |
| 83 | k = encode_utf8(k) # MD5 works on Python byte strings. |
| 84 | return os.path.join(self.path, md5(k).hexdigest()) |
| 85 | |
| 86 | def __len__(self): |
| 87 | return len(glob.glob(os.path.join(self.path, "*"))) |
no test coverage detected