Method Git.Export()->filemodify()
- Method
filemodify
voidfilemodify(intmode,stringpath,string|voiddataref)- Description
Create or modify a file.
- Parameter
mode Mode for the file. See the MODE_* constants.
- Parameter
path Path to the file relative to the repository root.
- Parameter
dataref Reference to the data for the file. One of:
stringA mark reference set by a prior blob command or a full 40-byte SHA-1 of an existing Git blob.
zeroLeft out, UNDEFINED or
"inline"in which case the filemodify command must be followed by adatacommand.