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

Method get

vdirsyncer/storage/memory.py:36–38  ·  view source on GitHub ↗
(self, href)

Source from the content-addressed store, hash-verified

34 yield href, etag
35
36 def get(self, href):
37 etag, item = self.items[href]
38 return item, etag
39
40 def has(self, href):
41 return href in self.items

Callers 7

test_repair_uidsFunction · 0.95
test_repair_unsafe_uidsFunction · 0.95
test_upload_and_updateFunction · 0.95
test_deletionFunction · 0.95
test_already_syncedFunction · 0.95
__init__Method · 0.45
get_metaMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_repair_uidsFunction · 0.76
test_repair_unsafe_uidsFunction · 0.76
test_upload_and_updateFunction · 0.76
test_deletionFunction · 0.76
test_already_syncedFunction · 0.76