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

Function _hashable_walk

marimo/_runtime/watch/_directory.py:33–39  ·  view source on GitHub ↗
(
    walked: Iterable[tuple[Path, list[str], list[str]]],
)

Source from the content-addressed store, hash-verified

31
32
33def _hashable_walk(
34 walked: Iterable[tuple[Path, list[str], list[str]]],
35) -> set[tuple[Path, tuple[str], tuple[str]]]:
36 return cast(
37 set[tuple[Path, tuple[str], tuple[str]]],
38 {(p, *map(tuple, r)) for p, *r in walked},
39 )
40
41
42def hashable_walk(path: Path) -> set[tuple[Path, tuple[str], tuple[str]]]:

Callers 2

hashable_walkFunction · 0.85
walkMethod · 0.85

Calls 1

mapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…