MCPcopy Index your code
hub / github.com/pimutils/vdirsyncer / get

Method get

vdirsyncer/storage/singlefile.py:120–127  ·  view source on GitHub ↗
(self, href)

Source from the content-addressed store, hash-verified

118 return ((href, etag) for href, (item, etag) in self._items.items())
119
120 def get(self, href):
121 if self._items is None or not self._at_once:
122 self.list()
123
124 try:
125 return self._items[href]
126 except KeyError:
127 raise exceptions.NotFoundError(href)
128
129 @_writing_op
130 def upload(self, item):

Callers

nothing calls this directly

Calls 1

listMethod · 0.95

Tested by

no test coverage detected