MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / walk

Function walk

aura/utils.py:49–59  ·  view source on GitHub ↗
(location: Union[str, Path])

Source from the content-addressed store, hash-verified

47
48
49def walk(location: Union[str, Path]) -> Generator[Path, None, None]:
50 if not isinstance(location, Path):
51 location = Path(location)
52
53 location = location.absolute()
54
55 for x in location.rglob("*"):
56 if x.is_dir():
57 continue
58 else:
59 yield x
60
61
62def parse_iso_8601(date_string: str) -> datetime:

Callers 2

get_directory_contentFunction · 0.90
list_recursiveMethod · 0.85

Calls

no outgoing calls

Tested by 1

get_directory_contentFunction · 0.72