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

Function p4KeyContainsFilePaths

git-p4.py:838–842  ·  view source on GitHub ↗

Returns True if the key contains file paths. These are handled by decode_path(). Otherwise False.

(key)

Source from the content-addressed store, hash-verified

836
837
838def p4KeyContainsFilePaths(key):
839 """Returns True if the key contains file paths. These are handled by decode_path().
840 Otherwise False.
841 """
842 return key.startswith('depotFile') or key in ['path', 'clientFile']
843
844
845def p4KeyWhichCanBeDirectlyDecoded(key):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected