fuse-friends / fuse-native

Multithreaded FUSE bindings for Node JS.
203 stars 29 forks source link

Add stat mode type constants to Fuse export #24

Open glmdev opened 3 years ago

glmdev commented 3 years ago

sys/stat.h contains bitwise constants for the various stat modes (directory, symlink, &c) that would be useful to have available as constants in Node.

From the spec: https://pubs.opengroup.org/onlinepubs/007908799/xsh/sysstat.h.html