This commit is contained in:
Simon Cruanes 2022-03-03 22:14:03 -05:00
parent 2a3554c941
commit 60d69a99a9
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -140,9 +140,12 @@ module Embedded_fs : sig
type t
(** The pseudo-filesystem *)
val create : unit -> t
val create : ?mtime:float -> unit -> t
val add_file : t -> path:string -> string -> unit
val add_file : ?mtime:float -> t -> path:string -> string -> unit
(** Add file to the virtual file system.
@raise Invalid_argument if the path contains '..' or if it tries to
make a directory out of an existing path that is a file. *)
val to_vfs : t -> (module VFS)
end