MCPcopy Index your code
hub / github.com/git/git / guessProjectName

Method guessProjectName

git-p4.py:3638–3645  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3636 system(["git", "config", "--add", "git-p4.ignoredP4Labels", name])
3637
3638 def guessProjectName(self):
3639 for p in self.depotPaths:
3640 if p.endswith("/"):
3641 p = p[:-1]
3642 p = p[p.strip().rfind("/") + 1:]
3643 if not p.endswith("/"):
3644 p += "/"
3645 return p
3646
3647 def getBranchMapping(self):
3648 lostAndFoundBranches = set()

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected