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

Method mkdir

marimo/_utils/async_path.py:90–96  ·  view source on GitHub ↗

Create directory.

(
        self, mode: int = 0o777, parents: bool = False, exist_ok: bool = False
    )

Source from the content-addressed store, hash-verified

88 return await asyncio.to_thread(self._path.rmdir)
89
90 async def mkdir(
91 self, mode: int = 0o777, parents: bool = False, exist_ok: bool = False
92 ) -> None:
93 """Create directory."""
94 return await asyncio.to_thread(
95 self._path.mkdir, mode, parents, exist_ok
96 )
97
98 async def rename(self, target: str | AsyncPath | Path) -> AsyncPath:
99 """Rename the path to target."""

Callers 15

_set_tracer_providerFunction · 0.80
make_log_directoryFunction · 0.80
_init_save_pathMethod · 0.80
putMethod · 0.80
clearMethod · 0.80
mkdirFunction · 0.80
maybe_make_dirsFunction · 0.80
write_tomlMethod · 0.80
ensure_parent_dirsMethod · 0.80
startupMethod · 0.80
promptFunction · 0.80

Calls

no outgoing calls