Module Sarif.File

module File: sig .. end

type t = {
   fileLocation : Sarif.FileLocation.t;
   parentKey : string;
   offset : int;
   length : int;
   roles : Sarif.Role.t list;
   mimeType : string;
   contents : Sarif.FileContent.t;
   encoding : string;
   hashes : Sarif.Hash.t list;
   lastModifiedTime : string;
   properties : Sarif.Properties.t;
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val create : ?fileLocation:Sarif.FileLocation.t ->
?parentKey:string ->
?offset:int ->
?length:int ->
?roles:Sarif.Role.t list ->
?mimeType:string ->
?contents:Sarif.FileContent.t ->
?encoding:string ->
?hashes:Sarif.Hash.t list ->
?lastModifiedTime:string ->
?properties:Sarif.Properties.t -> unit -> t