Topkg_care_archive.Tarustar encoder.
References. ustar Interchange Format in POSIX 1003.1, 2013.
val empty : tempty 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.resultadd 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 -> stringto_string a is the byte serialization of the archive a.