MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / get

Method get

projects/Python/proto/fbe.py:1263–1269  ·  view source on GitHub ↗
(self, defaults=None)

Source from the content-addressed store, hash-verified

1261
1262 # Get the optional value
1263 def get(self, defaults=None):
1264 fbe_begin = self.get_begin()
1265 if fbe_begin == 0:
1266 return defaults
1267 optional = self.value.get()
1268 self.get_end(fbe_begin)
1269 return optional
1270
1271 # Set the optional value (begin phase)
1272 def set_begin(self, has_value):

Callers

nothing calls this directly

Calls 3

get_beginMethod · 0.95
get_endMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected