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

Function getP4Labels

git-p4.py:711–722  ·  view source on GitHub ↗

Return the set of all p4 labels.

(depotPaths)

Source from the content-addressed store, hash-verified

709
710
711def getP4Labels(depotPaths):
712 """Return the set of all p4 labels."""
713
714 labels = set()
715 if not isinstance(depotPaths, list):
716 depotPaths = [depotPaths]
717
718 for l in p4CmdList(["labels"] + ["%s..." % p for p in depotPaths]):
719 label = l['label']
720 labels.add(label)
721
722 return labels
723
724
725def getGitTags():

Callers 2

runMethod · 0.85
runMethod · 0.85

Calls 1

p4CmdListFunction · 0.85

Tested by

no test coverage detected