MCPcopy Create free account
hub / github.com/SmingHub/Sming / getRemotePath

Function getRemotePath

docs/source/filemap.py:31–33  ·  view source on GitHub ↗
(srcdir)

Source from the content-addressed store, hash-verified

29
30
31def getRemotePath(srcdir):
32 path = gitcmd(['rev-parse', '--show-prefix'], cwd=srcdir).strip()
33 return path.rstrip('/')
34
35
36def getRemoteUrl(srcdir):

Callers 1

buildFileMapFunction · 0.85

Calls 1

gitcmdFunction · 0.85

Tested by

no test coverage detected