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

Method is_dir

marimo/_utils/async_path.py:62–64  ·  view source on GitHub ↗

Return True if the path is a directory.

(self)

Source from the content-addressed store, hash-verified

60 return await asyncio.to_thread(self._path.is_file)
61
62 async def is_dir(self) -> bool:
63 """Return True if the path is a directory."""
64 return await asyncio.to_thread(self._path.is_dir)
65
66 async def is_symlink(self) -> bool:
67 """Return True if the path is a symbolic link."""

Callers 15

test_is_dir_trueMethod · 0.95
test_is_dir_falseMethod · 0.95
get_test_baseFunction · 0.80
get_filesFunction · 0.80
async_get_filesFunction · 0.80
isdirFunction · 0.80
notebook_output_dirFunction · 0.80
_find_python_in_venvFunction · 0.80
_collect_marimo_filesFunction · 0.80
_create_run_workspaceFunction · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by 9

test_is_dir_trueMethod · 0.76
test_is_dir_falseMethod · 0.76
test_make_log_directoryFunction · 0.64
test_mkdirMethod · 0.64
test_create_directoryFunction · 0.64
test_internal_apiFunction · 0.64