| 1 | // +build !linux,!openbsd,!freebsd,!netbsd,!dragonfly,!solaris,!darwin |
| 2 | |
| 3 | package os |
| 4 | |
| 5 | import ( |
| 6 | "errors" |
| 7 | "os" |
| 8 | ) |
| 9 | |
| 10 | var errNoSymlinksNotSupported = errors.New("opening files without following symlinks is not supported on this platform") |
| 11 | |
| 12 | func openFileNoSymlinks(path string, flags int, mode os.FileMode) (*os.File, error) { |
| 13 | return nil, errNoSymlinksNotSupported |
| 14 | } |