MCPcopy
hub / github.com/marimo-team/marimo / maybe_make_dirs

Function maybe_make_dirs

marimo/_utils/paths.py:48–52  ·  view source on GitHub ↗

Create directories if they don't exist.

(filepath: Path)

Source from the content-addressed store, hash-verified

46
47
48def maybe_make_dirs(filepath: Path) -> None:
49 """
50 Create directories if they don't exist.
51 """
52 filepath.parent.mkdir(parents=True, exist_ok=True)
53
54
55MARIMO_DIR_NAME = "__marimo__"

Callers 5

convertFunction · 0.90
write_resultFunction · 0.90
_generate_thumbnailsFunction · 0.90
write_session_snapshotFunction · 0.90
snapshotFunction · 0.90

Calls 1

mkdirMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…