cgofuse

package
v0.0.0-...-604993b Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: ISC Imports: 22 Imported by: 0

Documentation

Overview

Package cgofuse implements a wrapper around fs.FS to make it compatible with the fuse.FileSystemHost interface.

Index

Constants

View Source
const (
	HostID filesystem.Host = "FUSE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Point           string   `json:"point,omitempty"`
	LogPrefix       string   `json:"logPrefix,omitempty"`
	Options         []string `json:"options,omitempty"`
	UID             uint32   `json:"uid,omitempty"`
	GID             uint32   `json:"gid,omitempty"`
	ReaddirPlus     bool     `json:"readdirPlus,omitempty"`
	DeleteAccess    bool     `json:"deleteAccess,omitempty"`
	CaseInsensitive bool     `json:"caseInsensitive,omitempty"`
	// contains filtered or unexported fields
}

Host is the cgofuse specific parameters of a mount point.

func (*Host) HostID

func (mh *Host) HostID() filesystem.Host

func (*Host) Mount

func (mh *Host) Mount(fsys fs.FS) (io.Closer, error)

func (*Host) ParseField

func (mh *Host) ParseField(key, value string) error

Directories

Path Synopsis
Package lock implements file system operation locks based around hierarchical `/` delimited paths.
Package lock implements file system operation locks based around hierarchical `/` delimited paths.

Jump to

Keyboard shortcuts

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