Contents

stat(flags:retryOnInterrupt:)

Creates a Stat struct for the file referenced by this FilePath using the given Flags.

Declaration

func stat(flags: Stat.Flags, retryOnInterrupt: Bool = true) throws(Errno) -> Stat

Discussion

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

The corresponding C function is fstatat().