Skip to content

Commit

Permalink
extend AccessPermission to determine the file type
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Jan 6, 2024
1 parent 888d7e6 commit 3999dbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/fd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ bitflags! {
const S_IFSOCK = 0140000;
const S_IFLNK = 0o120000;
const S_IFREG = 0o100000;
const S_IFBLK = 0o060000;
const S_IFDIR = 0o040000;
const S_IFCHR = 0o020000;
const S_IFIFO = 0o010000;
const S_IRUSR = 0o400;
const S_IWUSR = 0o200;
const S_IXUSR = 0o100;
Expand Down

0 comments on commit 3999dbf

Please sign in to comment.