diff options
Diffstat (limited to 'internal/scan/fileid_other.go')
| -rw-r--r-- | internal/scan/fileid_other.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/scan/fileid_other.go b/internal/scan/fileid_other.go new file mode 100644 index 0000000..503a9b4 --- /dev/null +++ b/internal/scan/fileid_other.go @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +//go:build !unix + +package scan + +import "io/fs" + +// fileID reports no identity where the platform has no inodes. +func fileID(fs.FileInfo) (dev, ino uint64) { return 0, 0 } |
