Mojo module
stat
Implements the stat module.
Aliases
S_IFBLK
alias S_IFBLK = 24576
Bits that determine the block device.
S_IFCHR
alias S_IFCHR = 8192
Bits that determine the char device.
S_IFDIR
alias S_IFDIR = 16384
Bits that determine the directory.
S_IFIFO
alias S_IFIFO = 4096
Bits that determine the fifo.
S_IFLNK
alias S_IFLNK = 40960
Bits that determine the symlink.
S_IFMT
alias S_IFMT = 61440
Bits that determine the file type.
S_IFREG
alias S_IFREG = 32768
Bits that determine the regular file.
S_IFSOCK
alias S_IFSOCK = 49152
Bits that determine the socket.
Functions
-
S_ISBLK
: Returns True if the mode is a block device. -
S_ISCHR
: Returns True if the mode is a character device. -
S_ISDIR
: Returns True if the mode is a directory. -
S_ISFIFO
: Returns True if the mode is a fifo. -
S_ISLNK
: Returns True if the mode is a symlink. -
S_ISREG
: Returns True if the mode is a regular file. -
S_ISSOCK
: Returns True if the mode is a socket.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!