Module Values.LocationSource

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

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

    The name of the file being compared, including its extension and subdirectory, if any.

    *)
  2. filePosition : Position.t option;
    (*

    The position of a change in a compared file, in line number format.

    *)
  3. relativeFileVersion : RelativeFileVersionEnum.t option;
    (*

    In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

    *)
}
Sourceval make : ?filePath:??? -> ?filePosition:??? -> ?relativeFileVersion:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Position.t | `String of Path.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