mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
fixup
This commit is contained in:
parent
2a3554c941
commit
60d69a99a9
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue