Static Propertyswift-nio 2.72.0_NIOFileSystem
now
A timespec where the seconds are set to zero and the nanoseconds set to UTIME_NOW
. In syscalls such as futimens
, this means the time component set to this value will be be set to the current time or the largest value supported by the platform, whichever is smaller.
static let now: FileInfo.Timespec
Other members in extension
Type members
init(seconds: Int, nanoseconds: Int
) static let omit: FileInfo.Timespec
A timespec where the seconds are set to zero and the nanoseconds set to
UTIME_OMIT
. In syscalls such asfutimens
, this means the time component set to this value will be ignored.
Instance members
var nanoseconds: Int
The number of nanoseconds.
var seconds: Int
The number of seconds.