Function permissions [src]

Returns a Permissions struct, representing the permissions on the file

Prototype

pub fn permissions(self: Self) Permissions

Parameters

self: Self

Source

pub fn permissions(self: Self) Permissions { return .{ .inner = .{ .mode = self.stat.mode } }; }