Initial commit
Proof-of-concept implementation. Bugs will occur.
This commit is contained in:
13
vendor/github.com/hanwen/go-fuse/v2/fs/dirstream_unix.go
generated
vendored
Normal file
13
vendor/github.com/hanwen/go-fuse/v2/fs/dirstream_unix.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build !darwin
|
||||
|
||||
// Copyright 2019 the Go-FUSE Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package fs
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
func getdents(fd int, buf []byte) (int, error) {
|
||||
return unix.Getdents(fd, buf)
|
||||
}
|
||||
Reference in New Issue
Block a user