MCPcopy Create free account
hub / github.com/emscripten-core/emsdk / get_git_remotes

Function get_git_remotes

emsdk.py:785–790  ·  view source on GitHub ↗
(repo_path)

Source from the content-addressed store, hash-verified

783
784
785def get_git_remotes(repo_path):
786 remotes = []
787 output = subprocess.check_output([GIT(), 'remote', '-v'], stderr=subprocess.STDOUT, text=True, cwd=repo_path)
788 for line in output.splitlines():
789 remotes += [line.split()[0]]
790 return remotes
791
792
793def git_clone(url, dstpath, branch, remote_name='origin'):

Callers 1

git_cloneFunction · 0.85

Calls 1

GITFunction · 0.85

Tested by

no test coverage detected