Module Source_command.Result

type t = {
content : string;

Content of the source reference.

mime_type : string option;

Optional content type (mime type) of the source.

}
val make : content:string -> ?⁠mime_type:string option -> unit -> t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or