1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +00:00
restic/internal/fs/const_unix.go

10 lines
191 B
Go
Raw Normal View History

2022-03-28 20:23:47 +00:00
//go:build !windows
// +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