MCPcopy Create free account
hub / github.com/git/git / p4UserIsMe

Method p4UserIsMe

git-p4.py:1695–1701  ·  view source on GitHub ↗

Return True if the given p4 user is actually me.

(self, p4User)

Source from the content-addressed store, hash-verified

1693 die("Could not find your p4 user id")
1694
1695 def p4UserIsMe(self, p4User):
1696 """Return True if the given p4 user is actually me."""
1697 me = self.p4UserId()
1698 if not p4User or p4User != me:
1699 return False
1700 else:
1701 return True
1702
1703 def getUserCacheFilename(self):
1704 home = os.environ.get("HOME", os.environ.get("USERPROFILE"))

Callers 1

applyCommitMethod · 0.80

Calls 1

p4UserIdMethod · 0.95

Tested by

no test coverage detected