MCPcopy Create free account
hub / github.com/OpenBMB/ChatDev / _path_is_hidden

Function _path_is_hidden

functions/function_calling/file.py:1032–1033  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

1030
1031
1032def _path_is_hidden(path: Path) -> bool:
1033 return any(part.startswith(".") for part in path.parts)
1034
1035
1036def _is_excluded(relative_posix: str, exclude_patterns: Sequence[str]) -> bool:

Callers 2

list_directoryFunction · 0.85
_iter_candidate_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected