MCPcopy Index your code
hub / github.com/nodejs/node / ensure_dir

Function ensure_dir

tools/prepare_lief.py:10–11  ·  view source on GitHub ↗
(p: Path)

Source from the content-addressed store, hash-verified

8from pathlib import Path
9
10def ensure_dir(p: Path):
11 p.mkdir(parents=True, exist_ok=True)
12
13
14def extract_zip(prefix: str, zip_path: Path, dst_third_party: Path):

Callers 3

extract_zipFunction · 0.85
write_fileFunction · 0.85
mainFunction · 0.85

Calls 1

mkdirMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…