MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / get

Method get

pipcl.py:3258–3268  ·  view source on GitHub ↗

Returns contents of the RECORD file. If `record_path` is specified we append a final line ` ,,`; this can be used to include the RECORD file itself in the contents, with empty hash and size fields.

(self, record_path=None)

Source from the content-addressed store, hash-verified

3256 self.add_content(content, to_, verbose=False)
3257
3258 def get(self, record_path=None):
3259 '''
3260 Returns contents of the RECORD file. If `record_path` is
3261 specified we append a final line `<record_path>,,`; this can be
3262 used to include the RECORD file itself in the contents, with
3263 empty hash and size fields.
3264 ''&#x27;
3265 ret = self.text
3266 if record_path:
3267 ret += f'{record_path},,\n'
3268 return ret
3269
3270
3271class NewFiles:

Callers 15

build_wheelMethod · 0.45
tag_platformMethod · 0.45
_call_fn_buildMethod · 0.45
installMethod · 0.45
base_compilerFunction · 0.45
base_linkerFunction · 0.45
wasmFunction · 0.45
pyodideFunction · 0.45
show_systemFunction · 0.45
__init__Method · 0.45
macos_add_cross_flagsFunction · 0.45
fs_find_in_pathsFunction · 0.45

Calls

no outgoing calls

Tested by 15

mainFunction · 0.36
get_env_boolFunction · 0.36
cibuildwheelFunction · 0.36
testFunction · 0.36
test_3848Function · 0.36
test_3854Function · 0.36
test_4435Function · 0.36
test_4445Function · 0.36
test_3301Function · 0.36
test_pylintFunction · 0.36