Initial commit
Proof-of-concept implementation. Bugs will occur.
This commit is contained in:
11
vendor/github.com/hanwen/go-fuse/v2/fs/mem_linux.go
generated
vendored
Normal file
11
vendor/github.com/hanwen/go-fuse/v2/fs/mem_linux.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2025 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 keepSizeMode(mode uint32) bool {
|
||||
return mode&unix.FALLOC_FL_KEEP_SIZE != 0
|
||||
}
|
||||
Reference in New Issue
Block a user