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

Function walker

gitless/core.py:1356–1360  ·  view source on GitHub ↗
(git_repo, target, reverse)

Source from the content-addressed store, hash-verified

1354 return pstderr
1355
1356def walker(git_repo, target, reverse):
1357 flags = pygit2.GIT_SORT_TOPOLOGICAL | pygit2.GIT_SORT_TIME
1358 if reverse:
1359 flags = flags | pygit2.GIT_SORT_REVERSE
1360 return git_repo.walk(target, flags)
1361
1362def _get_git_path(path):
1363 return path if sys.platform != 'win32' else path.replace('\\', '/')

Callers 2

historyMethod · 0.85
historyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected