diff options
Diffstat (limited to 'internal/syscallcompat/sys_linux.go')
-rw-r--r-- | internal/syscallcompat/sys_linux.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go index fb8d8b3..b5b949e 100644 --- a/internal/syscallcompat/sys_linux.go +++ b/internal/syscallcompat/sys_linux.go @@ -7,6 +7,8 @@ import ( "golang.org/x/sys/unix" + "github.com/hanwen/go-fuse/fuse" + "github.com/rfjakob/gocryptfs/internal/tlog" ) @@ -115,3 +117,8 @@ func Fstatat(dirfd int, path string, stat *unix.Stat_t, flags int) (err error) { } return unix.Fstatat(dirfd, path, stat, flags) } + +// Getdents syscall. +func Getdents(fd int) ([]fuse.DirEntry, error) { + return getdents(fd) +} |