Function modified [src]

Returns the last time the file was modified in nanoseconds since UTC 1970-01-01

Prototype

pub fn modified(self: Self) i128

Parameters

self: Self

Source

pub fn modified(self: Self) i128 { const mtime = self.stat.mtime(); return @as(i128, mtime.sec) * std.time.ns_per_s + mtime.nsec; }