Values.CreateCommitInputSourceCreates a commit for a repository on the tip of a specified branch.
type nonrec t = {repositoryName : RepositoryName.t;The name of the repository where you create the commit.
*)branchName : BranchName.t;The name of the branch where you create the commit.
*)parentCommitId : CommitId.t option;The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
*)email : Email.t option;The email address of the person who created the commit.
*)commitMessage : Message.t option;The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.
*)keepEmptyFolders : KeepEmptyFolders.t option;If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false.
*)putFiles : PutFileEntries.t option;The files to add or update in this commit.
*)deleteFiles : DeleteFileEntries.t option;The files to delete in this commit. These files still exist in earlier commits.
*)setFileModes : SetFileModeEntries.t option;The file modes to update for files in this commit.
*)}val make :
?parentCommitId:??? ->
?authorName:??? ->
?email:??? ->
?commitMessage:??? ->
?keepEmptyFolders:??? ->
?putFiles:??? ->
?deleteFiles:??? ->
?setFileModes:??? ->
repositoryName:RepositoryName.t ->
branchName:BranchName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of KeepEmptyFolders.t
| `List of
[> `Structure of
(string
* [> `Blob of FileContent.t
| `Enum of string
| `String of Path.t
| `Structure of
(string * [> `Boolean of IsMove.t | `String of Path.t ])
list ])
list ]
list
| `String of RepositoryName.t ])
list ]