MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / is_abs_path

Function is_abs_path

keepercommander/subfolder.py:131–133  ·  view source on GitHub ↗

Return True iff path_string is an absolute path.

(path_string)

Source from the content-addressed store, hash-verified

129
130
131def is_abs_path(path_string):
132 """Return True iff path_string is an absolute path."""
133 return path_string.startswith('/') and not path_string.startswith('//')
134
135
136def path_split(params, folder, path_string):

Callers 1

path_splitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected