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

Function inner

vdirsyncer/storage/singlefile.py:20–26  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

18def _writing_op(f):
19 @functools.wraps(f)
20 def inner(self, *args, **kwargs):
21 if self._items is None or not self._at_once:
22 self.list()
23 rv = f(self, *args, **kwargs)
24 if not self._at_once:
25 self._write()
26 return rv
27 return inner
28
29

Callers

nothing calls this directly

Calls 2

_writeMethod · 0.80
listMethod · 0.45

Tested by

no test coverage detected