| 1 | //go:build unix |
| 2 | |
| 3 | package rebase |
| 4 | |
| 5 | import "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. |
| 9 | const entryFlags = syscall.O_NOFOLLOW | syscall.O_NONBLOCK |