Topkg_care_archive.Tar
ustar encoder.
References. ustar Interchange Format in POSIX 1003.1, 2013.
val empty : t
empty
is the empty ustar archive.
val add : t -> Fpath.t -> mode:int -> mtime:ptime ->
[ `Dir | `File of string ] -> (t, Bos_setup.R.msg) Bos_setup.result
add a f mode mtime kind
adds to archive a
an element of type kind
with file path f
, permission mode mode
and modificaton time mtime
.
val to_string : t -> string
to_string a
is the byte serialization of the archive a
.