2022-03-28 20:23:47 +00:00
|
|
|
//go:build !windows
|
2018-01-03 20:53:45 +00:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package fs
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
// O_NOFOLLOW instructs the kernel to not follow symlinks when opening a file.
|
|
|
|
const O_NOFOLLOW int = syscall.O_NOFOLLOW
|
2024-11-02 16:44:55 +00:00
|
|
|
|
|
|
|
// O_DIRECTORY instructs the kernel to only open directories.
|
|
|
|
const O_DIRECTORY int = syscall.O_DIRECTORY
|