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

Method __init__

vdirsyncer/storage/singlefile.py:41–48  ·  view source on GitHub ↗
(self, path, encoding='utf-8', **kwargs)

Source from the content-addressed store, hash-verified

39 _last_etag = None
40
41 def __init__(self, path, encoding='utf-8', **kwargs):
42 super().__init__(**kwargs)
43 path = os.path.abspath(expand_path(path))
44 checkfile(path, create=False)
45
46 self.path = path
47 self.encoding = encoding
48 self._at_once = False
49
50 @classmethod
51 def discover(cls, path, **kwargs):

Callers

nothing calls this directly

Calls 2

expand_pathFunction · 0.85
checkfileFunction · 0.85

Tested by

no test coverage detected