gunk-dev/the-valley

cache_unix.go

sourceca98fdc29fbfmain's published tip history
251 bytes
1//go:build unix
2
3package rebase
4
5import "syscall"
6
7// entryFlags open a cache entry without following a symlink, and without
8// waiting for a writer, as opening a FIFO to read otherwise does.
9const entryFlags = syscall.O_NOFOLLOW | syscall.O_NONBLOCK