billybazilfuse

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: BSD-2-Clause Imports: 11 Imported by: 1

README

billy-bazilfuse

GoDoc

Each Go fuse library has its own interface that it expects from users. Billy is a standard interface for filesystems.

This library receives calls from bazil.org/fuse and sends them to a billy.Filesystem, allowing for easily swapping out both sides.

Documentation

Overview

Package billybazilfuse exposes a github.com/bazil/fuse/fs.FS that passes calls to a Billy API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(underlying billy.Basic, callHook CallHook) fs.FS

New creates a fuse/fs.FS that passes all calls through to the given filesystem. callHook is called before every call from FUSE, and can be nil.

Types

type CallHook added in v0.0.2

type CallHook func(ctx context.Context, req fuse.Request) error

CallHook is the callback you can get before every call from FUSE, before it's passed to Billy.

Jump to

Keyboard shortcuts

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