Module Values.CreateCommitInputSource

Creates a commit for a repository on the tip of a specified branch.

Sourcetype nonrec t = {
  1. repositoryName : RepositoryName.t;
    (*

    The name of the repository where you create the commit.

    *)
  2. branchName : BranchName.t;
    (*

    The name of the branch where you create the commit.

    *)
  3. 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.

    *)
  4. authorName : Name.t option;
    (*

    The name of the author who created the commit. This information is used as both the author and committer for the commit.

    *)
  5. email : Email.t option;
    (*

    The email address of the person who created the commit.

    *)
  6. 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.

    *)
  7. 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.

    *)
  8. putFiles : PutFileEntries.t option;
    (*

    The files to add or update in this commit.

    *)
  9. deleteFiles : DeleteFileEntries.t option;
    (*

    The files to delete in this commit. These files still exist in earlier commits.

    *)
  10. setFileModes : SetFileModeEntries.t option;
    (*

    The file modes to update for files in this commit.

    *)
}
Sourceval context_ : string
Sourceval make : ?parentCommitId:??? -> ?authorName:??? -> ?email:??? -> ?commitMessage:??? -> ?keepEmptyFolders:??? -> ?putFiles:??? -> ?deleteFiles:??? -> ?setFileModes:??? -> repositoryName:RepositoryName.t -> branchName:BranchName.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t