Function created [src]
Returns the time the file was created in nanoseconds since UTC 1970-01-01
On Windows, this cannot return null
On Linux, this returns null if the filesystem does not support creation times
On Unices, this returns null if the filesystem or OS does not support creation times
On MacOS, this returns the ctime if the filesystem does not support creation times; this is insanity, and yet another reason to hate on Apple
Prototype
pub fn created(self: Self) ?i128
Parameters
self: Self
Source
pub fn created(self: Self) ?i128 {
return self.inner.created();
}