Contents

noFollow

Indicates that opening the file doesn’t follow symlinks.

Declaration

static var noFollow: FileDescriptor.OpenOptions { get }

Mentioned in

Discussion

If you specify this option and the file path you pass to doc:FileDescriptor/open(_:_:options:permissions:retryOnInterrupt:)-2266j is a symbolic link, then that open operation fails.

The corresponding C constant is O_NOFOLLOW.

See Also

Specifying Options