Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
8
from
pathlib
import
Path
9
10
def
ensure_dir(p: Path):
11
p.mkdir(parents=True, exist_ok=True)
12
13
14
def
extract_zip(prefix: str, zip_path: Path, dst_third_party: Path):
Callers
3
extract_zip
Function · 0.85
write_file
Function · 0.85
main
Function · 0.85
Calls
1
mkdir
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…