1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2024-10-01 02:20:45 +00:00
falk-werner_webfuse-provider/example/daemon/www/js/wsfs/file_mode.js
2019-02-22 00:35:59 +01:00

10 lines
405 B
JavaScript

export class FileMode {
static get ACCESS_MODE() { return 0x003; }
static get READONLY() { return 0x000; }
static get WRITEONLY() { return 0x001; }
static get READWRITE() { return 0x002; }
static get CREATE() { return 0x040; }
static get EXCLUSIVE() { return 0x080; }
static get TRUNKATE() { return 0x200; }
static get APPEND() { return 0x400; }
}