file_streams/file_type

Types

The type of a file, as returned in FileInfo.

pub type FileType {
  Device
  Directory
  Other
  Regular
  Symlink
}

Constructors

  • Device

    A block or character device.

  • Directory

    A directory.

  • Other

    Some other type of file, e.g. a FIFO or socket.

  • Regular

    A regular file.

  • Symlink

    A symbolic link.

✨ Search Document