MCPcopy
hub / github.com/treeverse/dvc / normpath

Method normpath

dvc/fs/dvc.py:192–193  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

190 return tuple(ret)
191
192 def normpath(self, path: str) -> str:
193 return posixpath.normpath(path)
194
195 def abspath(self, path: str) -> str:
196 if not posixpath.isabs(path):

Callers 15

abspathMethod · 0.95
_parse_pathMethod · 0.80
from_fileMethod · 0.80
_is_ignoredMethod · 0.80
check_ignoreMethod · 0.80
normalize_pathFunction · 0.80
resolve_outputFunction · 0.80
resolve_pathsFunction · 0.80
merge_fromMethod · 0.80
__init__Method · 0.80
is_dvc_internalMethod · 0.80
get_pathMethod · 0.80

Calls

no outgoing calls

Tested by 1

match_filesFunction · 0.64