Mojo module
stat
Implements the stat module.
Aliasesβ
- β
S_IFBLK = 24576
: Bits that determine the block device. - β
S_IFCHR = 8192
: Bits that determine the char device. - β
S_IFDIR = 16384
: Bits that determine the directory. - β
S_IFIFO = 4096
: Bits that determine the fifo. - β
S_IFLNK = 40960
: Bits that determine the symlink. - β
S_IFMT = 61440
: Bits that determine the file type. - β
S_IFREG = 32768
: Bits that determine the regular file. - β
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!
π What went wrong?