Gjsify LogoGjsify Logo

Indicates the file's on-disk type.

On Windows systems a file will never have %G_FILE_TYPE_SYMBOLIC_LINK type; use #GFileInfo and %G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK to determine whether a file is a symlink or not. This is due to the fact that NTFS does not have a single filesystem object type for symbolic links - it has files that symlink to files, and directories that symlink to directories. #GFileType enumeration cannot precisely represent this important distinction, which is why all Windows symlinks will continue to be reported as %G_FILE_TYPE_REGULAR or %G_FILE_TYPE_DIRECTORY.

Index

Enumeration Members

DIRECTORY: number

File handle represents a directory.

MOUNTABLE: number

File is a mountable location.

REGULAR: number

File handle represents a regular file.

SHORTCUT: number

File is a shortcut (Windows systems).

SPECIAL: number

File is a "special" file, such as a socket, fifo, block device, or character device.

SYMBOLIC_LINK: number

File handle represents a symbolic link (Unix systems).

UNKNOWN: number

File's type is unknown.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method