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

Method walk

marimo/_runtime/watch/_directory.py:90–95  ·  view source on GitHub ↗

Walk the directory.

(self)

Source from the content-addressed store, hash-verified

88 )
89
90 def walk(self) -> Iterable[tuple[Path, list[str], list[str]]]:
91 """Walk the directory."""
92 items = walk(self._value)
93 as_list = list(_hashable_walk(items))
94 write_side_effect(f"walk:{sorted(as_list)}")
95 return iter(items)
96
97 def iterdir(self) -> Iterable[Path]:
98 """Iterate over the directory."""

Callers 15

__repr__Method · 0.95
get_pypi_package_namesFunction · 0.80
fix_source_positionFunction · 0.80
walkFunction · 0.80
_Function · 0.80
_Function · 0.80
check_fileFunction · 0.80
inlineCssVarsFunction · 0.80
tearDownMethod · 0.80
tearDownMethod · 0.80

Calls 3

write_side_effectFunction · 0.90
walkFunction · 0.85
_hashable_walkFunction · 0.85

Tested by 5

_Function · 0.64
tearDownMethod · 0.64
tearDownMethod · 0.64