MCPcopy Index your code
hub / github.com/python/cpython / filterfunc

Function filterfunc

Platforms/emscripten/wasm_assets.py:114–116  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

112 optimize: int = 0,
113) -> None:
114 def filterfunc(filename: str) -> bool:
115 pathname = pathlib.Path(filename).resolve()
116 return pathname not in args.omit_files_absolute
117
118 with zipfile.PyZipFile(
119 args.output,

Callers 1

writepyMethod · 0.85

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…