From 0b5d0eb92c5be2f0ddb2fa73990f31e5654e57fe Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 15:16:55 +0200 Subject: krino: 0.0.5 — keyword cache, t and d in review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/scan/fileid_other.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 internal/scan/fileid_other.go (limited to 'internal/scan/fileid_other.go') 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 } -- cgit v1.3