v1.2.0.1-beta1
|
The FS
namespace holds constants related to file system tasks. They are referenced in JavaScript as FS.<constant>
, eg. FS.O_RDONLY
.
Public Types | |
enum | OpenModeFlag : uint |
enum | OpenMode : OpenModeFlag |
enum | FileTime : int |
enum | Permission : uint |
enum | Permissions : Permission |
enum | FileError : int |
enum OpenModeFlag : uint |
File handling mode flags.
enum OpenMode : OpenModeFlag |
The FS.OpenMode
type stores an OR combination of FS.OpenModeFlag
values.
enum FileTime : int |
File date/time enumerations for FileHandle.fileTime()
and FileHandle.setFileTime()
. The names are meant to follow GNU/POSIX file info stat
structure names.
Enumerator | |
---|---|
S_ATIME | Access time. |
S_BTIME | Birth/creation time (may not be available). |
S_CTIME | Attribute/status modification time. |
S_MTIME | File modification time. |
enum Permission : uint |
Permission flags returned by permissions()
and used with setPermissions()
. These conform to GNU/Node/etc file mode constants, with the addition of "OWN" (owner) bits. On NTFS the owner may differ from the user. On Unix/POSIX the "USR" bits return owner information as per convention.
enum Permissions : Permission |
The FS.Permissions
type stores an OR combination of FS.Permission
values.
enum FileError : int |
Error type enumeration returned by the FileHandle.error()
method.