fusehelpers

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILEREAD   = fuse.S_IFREG + 0x0755
	FILENOREAD = fuse.S_IFREG + 0x0700
	DIRREAD    = fuse.S_IFDIR + 0x0755
	DIRNOREAD  = fuse.S_IFDIR + 0x0700
)

Variables

This section is empty.

Functions

func GetUserFromContext

func GetUserFromContext(ctx context.Context) (*user.User, error)

GetUserFromContext returns the user that called the filesystem operation

func IsDir added in v1.0.5

func IsDir(mode int64) bool

func IsFile added in v1.0.5

func IsFile(mode int64) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL