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

Method pushFile

git-p4.py:1623–1628  ·  view source on GitHub ↗
(self, localLargeFile)

Source from the content-addressed store, hash-verified

1621 return (gitMode, pointerFile, localLargeFile)
1622
1623 def pushFile(self, localLargeFile):
1624 uploadProcess = subprocess.Popen(
1625 ['git', 'lfs', 'push', '--object-id', 'origin', os.path.basename(localLargeFile)]
1626 )
1627 if uploadProcess.wait():
1628 die('git-lfs push command failed. Did you define a remote?')
1629
1630 def generateGitAttributes(self):
1631 return (

Callers

nothing calls this directly

Calls 1

dieFunction · 0.70

Tested by

no test coverage detected