Module Header.Link

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

    *)
  10. | LongName
    (*

    a GNU LongName i.e. a very long filename

    *)

Determines the type of the file.

val to_string : t -> string