| //go:build !unix && !windows | |
| package compactscan | |
| import ( | |
| "errors" | |
| "os" | |
| ) | |
| func openedHardLinkCount(_ *os.File, _ os.FileInfo) (uint64, error) { | |
| return 0, errors.New("hard-link count unavailable on this platform") | |
| } | |
| //go:build !unix && !windows | |
| package compactscan | |
| import ( | |
| "errors" | |
| "os" | |
| ) | |
| func openedHardLinkCount(_ *os.File, _ os.FileInfo) (uint64, error) { | |
| return 0, errors.New("hard-link count unavailable on this platform") | |
| } | |