Module Values.FileVersionSource

Information about a version of a file.

Sourcetype nonrec t = {
  1. commit : Commit.t option;
  2. blobId : ObjectId.t option;
    (*

    The blob ID of the object that represents the content of the file in this version.

    *)
  3. path : Path.t option;
    (*

    The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.

    *)
  4. revisionChildren : RevisionChildren.t option;
    (*

    An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.

    *)
}
Sourceval make : ?commit:??? -> ?blobId:??? -> ?path:??? -> ?revisionChildren:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of RevisionId.t ] list | `String of ObjectId.t | `Structure of (string * [> `List of [> `String of ObjectId.t ] list | `String of ObjectId.t | `Structure of (string * [> `String of Name.t ]) list ]) 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