From 3b0f2a7da515f7996c31ecf5a5c957061022902a Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Fri, 20 Nov 2026 22:58:40 +0100 Subject: Remove unused nametransform.Dir and syscallcompat.GetdentsSpecial Found with "deadcode -test ./..." on linux and darwin: neither function is called by any binary or test on either platform. Co-Authored-By: Claude Opus 5.5 --- internal/syscallcompat/sys_linux.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'internal/syscallcompat/sys_linux.go') diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go index dad7187..224f1cf 100644 --- a/internal/syscallcompat/sys_linux.go +++ b/internal/syscallcompat/sys_linux.go @@ -184,12 +184,6 @@ func Getdents(fd int) ([]fuse.DirEntry, error) { return entries, err } -// GetdentsSpecial calls the Getdents syscall, -// with normal entries and "." / ".." split into two slices. -func GetdentsSpecial(fd int) (entries []fuse.DirEntry, entriesSpecial []fuse.DirEntry, err error) { - return getdents(fd) -} - // Renameat2 does not exist on Darwin, so we have to wrap it here. // Retries on EINTR. func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) { -- cgit v1.2.3