MCPcopy
hub / github.com/pre-commit/pre-commit / get

Method get

tests/conftest.py:216–218  ·  view source on GitHub ↗

Get the output assuming it was written as UTF-8 bytes

(self)

Source from the content-addressed store, hash-verified

214 return data.replace(b'\r\n', b'\n')
215
216 def get(self) -> str:
217 """Get the output assuming it was written as UTF-8 bytes"""
218 return self.get_bytes().decode()
219
220
221@pytest.fixture

Callers 15

transform_stageFunction · 0.45
_translate_languageFunction · 0.45
checkMethod · 0.45
checkMethod · 0.45
find_executableFunction · 0.45
add_color_optionFunction · 0.45
format_envFunction · 0.45
cmd_output_bFunction · 0.45
_get_default_directoryFunction · 0.45
_rscript_execFunction · 0.45
_conda_exeFunction · 0.45

Calls 1

get_bytesMethod · 0.95

Tested by

no test coverage detected