2022-03-28 20:23:47 +00:00
|
|
|
//go:build windows
|
2018-01-03 20:53:45 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package fs
|
|
|
|
|
2024-11-02 16:44:55 +00:00
|
|
|
// TODO honor flags when opening files
|
|
|
|
|
2024-11-16 14:38:40 +00:00
|
|
|
// O_NOFOLLOW is currently only interpreted by FS.OpenFile in metadataOnly mode and ignored by OpenFile.
|
|
|
|
// The value of the constant is invented and only for use within this fs package. It must not be used in other contexts.
|
|
|
|
// It must not conflict with the other O_* values from go/src/syscall/types_windows.go
|
|
|
|
const O_NOFOLLOW int = 0x40000000
|
2024-11-02 16:44:55 +00:00
|
|
|
|
|
|
|
// O_DIRECTORY is a noop on Windows.
|
|
|
|
const O_DIRECTORY int = 0
|