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

Method extractJobsFromCommit

git-p4.py:3023–3030  ·  view source on GitHub ↗
(self, commit)

Source from the content-addressed store, hash-verified

3021 return files
3022
3023 def extractJobsFromCommit(self, commit):
3024 jobs = []
3025 jnum = 0
3026 while "job%s" % jnum in commit:
3027 job = commit["job%s" % jnum]
3028 jobs.append(job)
3029 jnum = jnum + 1
3030 return jobs
3031
3032 def stripRepoPath(self, path, prefixes):
3033 """When streaming files, this is called to map a p4 depot path to where

Callers 1

commitMethod · 0.95

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected