Function readOnly [src]

Returns true if permissions represent an unwritable file. On Unix, true is returned only if no class has write permissions.

Prototype

pub fn readOnly(self: Self) bool

Parameters

self: Self

Source

pub fn readOnly(self: Self) bool { return self.inner.readOnly(); }