Function readOnly [src]

Returns true if permissions represent an unwritable file.

Prototype

pub fn readOnly(self: Self) bool

Parameters

self: Self

Source

pub fn readOnly(self: Self) bool { return self.attributes & windows.FILE_ATTRIBUTE_READONLY != 0; }