aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat/sys_freebsd.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2026-11-20 22:58:40 +0100
committerJakob Unterwurzacher2026-11-20 22:58:40 +0100
commit3b0f2a7da515f7996c31ecf5a5c957061022902a (patch)
treeec3e6a8b2fc794c1ef3e49f998931ea266ecdd9d /internal/syscallcompat/sys_freebsd.go
parent7190404b14597fa0afffff1313b192c2b83e04cb (diff)
Remove unused nametransform.Dir and syscallcompat.GetdentsSpecialHEADmaster
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/syscallcompat/sys_freebsd.go')
-rw-r--r--internal/syscallcompat/sys_freebsd.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/syscallcompat/sys_freebsd.go b/internal/syscallcompat/sys_freebsd.go
index 626c8b2..6ce8728 100644
--- a/internal/syscallcompat/sys_freebsd.go
+++ b/internal/syscallcompat/sys_freebsd.go
@@ -127,12 +127,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 emulateGetdents(fd)
-}
-
// Renameat2 does not exist on FreeBSD, so we have to wrap it here.
// Retries on EINTR.
// The RENAME_EXCHANGE and RENAME_WHITEOUT flags are not supported.