package tar-format

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. file_name : string;
  2. file_mode : int;
  3. user_id : int;
  4. group_id : int;
  5. file_size : int64;
  6. mod_time : int64;
}
val make : ?file_mode:int -> ?user_id:int -> ?group_id:int -> ?mod_time:int64 -> ?link:bool -> ?link_name:int -> string -> int64 -> t
val length : int
val zero_block : string
val to_detailed_string : t -> string
val to_summary_string : t -> string
val to_hex : string -> string
exception Checksum_mismatch
exception End_of_stream
val unmarshal : string -> t option
val marshal : t -> string
val get_next_header : Unix.file_descr -> t
val compute_zero_padding_length : t -> int
val zero_padding : t -> string
val of_file : string -> t
OCaml

Innovation. Community. Security.