Skip to content

TBLFileInfoFlag

File information flags, used by TBLFileInfo.

Definition

Unit: Blend2D

type TBLFileInfoFlag = (OwnerR, OwnerW, OwnerX, GroupR, GroupW, GroupX, OtherR, OtherW, OtherX, SetUid, SetGid, Regular, Directory, SymLink, CharDevice...)

See Also

Enumeration Values

OwnerR = 8

File owner has read permission (compatible with 0400 octal notation).


OwnerW = 7

File owner has write permission (compatible with 0200 octal notation).


OwnerX = 6

File owner has execute permission (compatible with 0100 octal notation).


GroupR = 5

File group owner has read permission (compatible with 040 octal notation).


GroupW = 4

File group owner has write permission (compatible with 020 octal notation).


GroupX = 3

File group owner has execute permission (compatible with 010 octal notation).


OtherR = 2

Other users have read permission (compatible with 04 octal notation).


OtherW = 1

Other users have write permission (compatible with 02 octal notation).


OtherX = 0

Other users have execute permission (compatible with 01 octal notation).


SetUid = 11

Set user ID to file owner user ID on execution (compatible with 04000 octal notation).


SetGid = 10

Set group ID to file's user group ID on execution (compatible with 02000 octal notation).


Regular = 16

A flag specifying that this is a regular file.


Directory = 17

A flag specifying that this is a directory.


A flag specifying that this is a symbolic link.


CharDevice = 20

A flag describing a character device.


BlockDevice = 21

A flag describing a block device.


Fifo = 22

A flag describing a FIFO (named pipe).


Socket = 23

A flag describing a socket.


Hidden = 24

A flag describing a hidden file (Windows only).


Executable = 25

A flag describing an executable file (Windows only).


Archive = 26

A flag describing an archive (Windows only).


System = 27

A flag describing a system file (Windows only).


Valid = 31

File information is valid (the request succeeded).