2022-03-28 22:23:47 +02:00
|
|
|
//go:build windows
|
2018-01-03 21:53:45 +01:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package fs
|
|
|
|
|
2024-11-02 17:44:55 +01:00
|
|
|
// TODO honor flags when opening files
|
|
|
|
|
2024-11-16 15:38:40 +01: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 17:44:55 +01:00
|
|
|
|
|
|
|
// O_DIRECTORY is a noop on Windows.
|
|
|
|
const O_DIRECTORY int = 0
|