fuse

package
v0.0.0-...-c801dca Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(repo *git.Repository, mountpoint string)

Types

type BranchHistoriesDir

type BranchHistoriesDir struct {
	// contains filtered or unexported fields
}

func (*BranchHistoriesDir) Attr

func (f *BranchHistoriesDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*BranchHistoriesDir) Lookup

func (f *BranchHistoriesDir) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*BranchHistoriesDir) ReadDirAll

func (f *BranchHistoriesDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

func (*BranchHistoriesDir) Root

func (f *BranchHistoriesDir) Root() (fs.Node, error)

type BranchHistoryDir

type BranchHistoryDir struct {
	// contains filtered or unexported fields
}

func (*BranchHistoryDir) Attr

func (f *BranchHistoryDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*BranchHistoryDir) Lookup

func (f *BranchHistoryDir) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*BranchHistoryDir) ReadDirAll

func (f *BranchHistoryDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

type BranchesDir

type BranchesDir struct {
	// contains filtered or unexported fields
}

func (*BranchesDir) Attr

func (f *BranchesDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*BranchesDir) Lookup

func (f *BranchesDir) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*BranchesDir) ReadDirAll

func (f *BranchesDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

func (*BranchesDir) Root

func (f *BranchesDir) Root() (fs.Node, error)

type CommitsCache

type CommitsCache struct {
	// contains filtered or unexported fields
}

type CommitsDir

type CommitsDir struct {
	// contains filtered or unexported fields
}

func (*CommitsDir) Attr

func (f *CommitsDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*CommitsDir) Lookup

func (f *CommitsDir) Lookup(ctx context.Context, prefix string) (fs.Node, error)

func (*CommitsDir) ReadDirAll

func (f *CommitsDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

func (*CommitsDir) Root

func (f *CommitsDir) Root() (fs.Node, error)

type CommitsPrefixDir

type CommitsPrefixDir struct {
	// contains filtered or unexported fields
}

func (*CommitsPrefixDir) Attr

func (f *CommitsPrefixDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*CommitsPrefixDir) Lookup

func (f *CommitsPrefixDir) Lookup(ctx context.Context, prefix string) (fs.Node, error)

func (*CommitsPrefixDir) ReadDirAll

func (f *CommitsPrefixDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

type CommitsPrefixDir2

type CommitsPrefixDir2 struct {
	// contains filtered or unexported fields
}

func (*CommitsPrefixDir2) Attr

func (f *CommitsPrefixDir2) Attr(ctx context.Context, a *fuse.Attr) error

func (*CommitsPrefixDir2) Lookup

func (f *CommitsPrefixDir2) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*CommitsPrefixDir2) ReadDirAll

func (f *CommitsPrefixDir2) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

type FS

type FS struct {
	// contains filtered or unexported fields
}

FS implements the hello world file system.

func New

func New(repo *git.Repository) *FS

func (*FS) Attr

func (f *FS) Attr(ctx context.Context, a *fuse.Attr) error

func (*FS) Lookup

func (f *FS) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*FS) ReadDirAll

func (f *FS) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

func (*FS) Root

func (f *FS) Root() (fs.Node, error)

type GitBlob

type GitBlob struct {
	// contains filtered or unexported fields
}

func (*GitBlob) Attr

func (b *GitBlob) Attr(ctx context.Context, a *fuse.Attr) error

func (*GitBlob) ReadAll

func (b *GitBlob) ReadAll(ctx context.Context) ([]byte, error)

type GitTree

type GitTree struct {
	// contains filtered or unexported fields
}

func (*GitTree) Attr

func (t *GitTree) Attr(ctx context.Context, a *fuse.Attr) error

func (*GitTree) Lookup

func (t *GitTree) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*GitTree) ReadDirAll

func (b *GitTree) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)
type SymLink struct {
	// contains filtered or unexported fields
}

func (*SymLink) Attr

func (s *SymLink) Attr(ctx context.Context, a *fuse.Attr) error
func (s *SymLink) Readlink(ctx context.Context, req *fuse.ReadlinkRequest) (string, error)

type TagsDir

type TagsDir struct {
	// contains filtered or unexported fields
}

func (*TagsDir) Attr

func (f *TagsDir) Attr(ctx context.Context, a *fuse.Attr) error

func (*TagsDir) Lookup

func (f *TagsDir) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*TagsDir) ReadDirAll

func (f *TagsDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

func (*TagsDir) Root

func (f *TagsDir) Root() (fs.Node, error)

Jump to

Keyboard shortcuts

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