fs

package
v0.0.0-...-b374c7e Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	nodefs.Node

	Provider provider.Provider
}

Root is the expression of the root directory

func NewRoot

func NewRoot(providerName string) *Root

NewRoot returns a new root instance

func (*Root) OnMount

func (root *Root) OnMount(conn *nodefs.FileSystemConnector)

OnMount downloads informations from provider and set them

func (*Root) OpenDir

func (root *Root) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)

OpenDir returns directory files

Jump to

Keyboard shortcuts

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