aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat/getdents_other.go
blob: 4ef5b8f8877fea55dc0b2382c5d85c63791554af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +build !linux

package syscallcompat

import (
	"log"

	"github.com/hanwen/go-fuse/fuse"
)

// HaveGetdents is true if we have a working implementation of Getdents
const HaveGetdents = false

func Getdents(dir string) ([]fuse.DirEntry, error) {
	log.Panic("only implemented on Linux")
	return nil, nil
}