Contents

init(_:flags:retryOnInterrupt:)

Creates a Stat struct from a FilePath and Flags.

Declaration

init(_ path: FilePath, flags: Stat.Flags, retryOnInterrupt: Bool = true) throws(Errno)

Discussion

If path is relative, it is resolved against the current working directory.

The corresponding C function is fstatat().