Module Values.GetFileInputSource

Returns the base-64 encoded contents of a specified file and its metadata.

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

    The name of the repository that contains the file.

    *)
  2. commitSpecifier : CommitName.t option;
    (*

    The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used.

    *)
  3. filePath : Path.t;
    (*

    The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.

    *)
}
Sourceval context_ : string
Sourceval make : ?commitSpecifier:??? -> repositoryName:RepositoryName.t -> filePath:Path.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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