MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / get_paths

Function get_paths

tests/test_4767.py:61–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 return cp
60
61 def get_paths():
62 paths = list()
63 for dirpath, dirnames, filenames in os.walk(testdir):
64 for filename in filenames:
65 path = f'{dirpath}/{filename}'.replace('\\', '/')
66 paths.append(path)
67 return paths
68
69 cp = run(f'cd {testdir}/one/two && {sys.executable} -m pymupdf embed-extract {path} -name evil_entry')
70 print(cp.stdout)

Callers 1

test_4767Function · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…