DoxigAlpha

Permissions

Cross-platform representation of permissions on a file. The readonly and setReadonly are the only methods available across all platforms. Platform-specific functionality is available through the inner field.

Fields of this type

Fields

#
inner:switch (builtin.os.tag) { .windows => PermissionsWindows, else => PermissionsUnix, }
You may use the `inner` field to use platform-specific functionality

Returns `true` if permissions represent an unwritable file.

Functions

#
readOnly
Returns `true` if permissions represent an unwritable file.
setReadOnly
Sets whether write permissions are provided.