struct File::Stat
Defined in:
lsr/file_mode.cr
Constant Summary
-
FLAG_MAP =
[{S_IFIFO, 'p'}, {S_IFCHR, 'c'}, {S_IFDIR, 'd'}, {S_INSEM, 's'}, {S_INSHD, 'm'}, {S_IFBLK, 'b'}, {S_IFREG, '-'}, {S_IFLNK, 'l'}, {S_IFNWK, 'n'}, {S_IFSOCK, 's'}, {S_IFDOOR, 'D'}, {S_IFWHT, 'w'}]
-
PERMS =
[{S_IRUSR, 'r'}, {S_IWUSR, 'w'}, {S_IXUSR, 'x'}, {S_IRGRP, 'r'}, {S_IWGRP, 'w'}, {S_IXGRP, 'x'}, {S_IROTH, 'r'}, {S_IWOTH, 'w'}, {S_IXOTH, 'x'}]
-
S_CDF =
2048
-
S_ENFMT =
1024
-
S_IFBLK =
24576
-
S_IFCHR =
8192
-
S_IFCMP =
36864
-
S_IFDIR =
16384
-
S_IFDOOR =
53248
-
S_IFIFO =
4096
-
S_IFLNK =
40960
-
S_IFMPB =
28672
-
S_IFMPC =
12288
-
S_IFMT =
61440
-
S_IFNAM =
20480
-
S_IFNWK =
36864
-
S_IFREG =
32768
-
S_IFSHAD =
45056
-
S_IFSOCK =
49152
-
S_IFWHT =
57344
-
S_INSEM =
1
-
S_INSHD =
2
-
S_IRGRP =
32
-
S_IROTH =
4
-
S_IRUSR =
256
-
S_IRWXG =
56
-
S_IRWXO =
7
-
S_IRWXU =
448
-
S_ISGID =
1024
-
S_ISUID =
2048
-
S_ISVTX =
512
-
S_IWGRP =
16
-
S_IWOTH =
2
-
S_IWUSR =
128
-
S_IXGRP =
8
-
S_IXOTH =
1
-
S_IXUSR =
64
Constructors
Instance Method Summary
Constructor Detail
Instance Method Detail