MCPcopy
hub / github.com/pimutils/vdirsyncer / list

Method list

vdirsyncer/storage/filesystem.py:78–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 return generate_href(ident) + self.fileext
77
78 def list(self):
79 for fname in os.listdir(self.path):
80 fpath = os.path.join(self.path, fname)
81 if os.path.isfile(fpath) and fname.endswith(self.fileext):
82 yield fname, get_etag_from_file(fpath)
83
84 def get(self, href):
85 fpath = self._get_filepath(href)

Callers

nothing calls this directly

Calls 2

get_etag_from_fileFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected