Module Values.PutFileEntrySource

Information about a file added or updated as part of a commit.

Sourcetype nonrec t = {
  1. filePath : Path.t;
    (*

    The full path to the file in the repository, including the name of the file.

    *)
  2. fileMode : FileModeTypeEnum.t option;
    (*

    The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

    *)
  3. fileContent : FileContent.t option;
    (*

    The content of the file, if a source file is not specified.

    *)
  4. sourceFile : SourceFileSpecifier.t option;
    (*

    The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.

    *)
}
Sourceval context_ : string
Sourceval make : ?fileMode:??? -> ?fileContent:??? -> ?sourceFile:??? -> filePath:Path.t -> unit -> t
Sourceval to_value : t -> [> `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 ]
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