Function accessed [src]
Returns the last time the file was accessed in nanoseconds since UTC 1970-01-01
Prototype
pub fn accessed(self: Self) i128
Parameters
self: Self
Source
pub fn accessed(self: Self) i128 {
return @as(i128, self.statx.atime.sec) * std.time.ns_per_s + self.statx.atime.nsec;
}