package tar-unix

  1. Overview
  2. Docs
type t =
  1. | Normal
  2. | Hard
    (*

    a hard link

    *)
  3. | Symbolic
    (*

    a symbolic link

    *)
  4. | Character
    (*

    a character device node

    *)
  5. | Block
    (*

    a block device node

    *)
  6. | Directory
    (*

    a directory (also indicated by trailing / in file_name)

    *)
  7. | FIFO
    (*

    a FIFO node

    *)
  8. | GlobalExtendedHeader
    (*

    a PaxExtension global header

    *)
  9. | PerFileExtendedHeader
    (*

    a PaxExtension per-file header

    *)

Determines the type of the file

val to_string : t -> string
OCaml

Innovation. Community. Security.