MCPcopy
hub / github.com/bugy/script-server / is_root

Function is_root

src/utils/file_utils.py:32–33  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

30
31
32def is_root(path):
33 return os.path.dirname(path) == path
34
35
36def normalize_path(path_string, current_folder=None):

Callers 2

deletion_dateFunction · 0.85
split_allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected