MCPcopy
hub / github.com/gitless-vcs/gitless / _get_git_path

Function _get_git_path

gitless/core.py:1362–1363  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1360 return git_repo.walk(target, flags)
1361
1362def _get_git_path(path):
1363 return path if sys.platform != 'win32' else path.replace('\\', '/')
1364
1365def _check_path_is_repo_relative(path):
1366 if os.path.isabs(path):

Callers 10

_status_fileMethod · 0.85
path_is_ignoredMethod · 0.85
track_fileMethod · 0.85
untrack_fileMethod · 0.85
resolve_fileMethod · 0.85
checkout_fileMethod · 0.85
get_pathsMethod · 0.85
diff_fileMethod · 0.85
updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected