MCPcopy
hub / github.com/timbrel/GitSavvy / ensure_decoded

Method ensure_decoded

core/git_command.py:421–425  ·  view source on GitHub ↗
(self, input)

Source from the content-addressed store, hash-verified

419 return decoded
420
421 def ensure_decoded(self, input):
422 # type: (Union[str, bytes]) -> str
423 if isinstance(input, str):
424 return input
425 return self.lax_decode(input)
426
427 def lax_decode(self, input):
428 # type: (bytes) -> str

Callers 1

gitMethod · 0.95

Calls 1

lax_decodeMethod · 0.95

Tested by

no test coverage detected