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

Method __init__

vdirsyncer/storage/filesystem.py:21–29  ·  view source on GitHub ↗
(self, path, fileext, encoding='utf-8', post_hook=None,
                 **kwargs)

Source from the content-addressed store, hash-verified

19 _repr_attributes = ('path',)
20
21 def __init__(self, path, fileext, encoding='utf-8', post_hook=None,
22 **kwargs):
23 super().__init__(**kwargs)
24 path = expand_path(path)
25 checkdir(path, create=False)
26 self.path = path
27 self.encoding = encoding
28 self.fileext = fileext
29 self.post_hook = post_hook
30
31 @classmethod
32 def discover(cls, path, **kwargs):

Callers

nothing calls this directly

Calls 2

expand_pathFunction · 0.85
checkdirFunction · 0.85

Tested by

no test coverage detected