fs

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TreeBuilderFS

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

func NewEmptyTreeBuildFS

func NewEmptyTreeBuildFS(repo *git.Repository) *TreeBuilderFS

func NewTreeBuildFS

func NewTreeBuildFS(repo *git.Repository, oid *git.Oid) *TreeBuilderFS

func (*TreeBuilderFS) Chroot

func (t *TreeBuilderFS) Chroot(dir string) (billy.Filesystem, error)

func (*TreeBuilderFS) Create

func (t *TreeBuilderFS) Create(filename string) (billy.File, error)

func (*TreeBuilderFS) Insert

func (t *TreeBuilderFS) Insert() (*git.Oid, error)

func (*TreeBuilderFS) Join

func (t *TreeBuilderFS) Join(elem ...string) string

func (*TreeBuilderFS) Lstat

func (t *TreeBuilderFS) Lstat(path string) (os.FileInfo, error)

func (*TreeBuilderFS) MkdirAll

func (t *TreeBuilderFS) MkdirAll(dir string, perm os.FileMode) error

func (*TreeBuilderFS) Open

func (t *TreeBuilderFS) Open(filename string) (billy.File, error)

func (*TreeBuilderFS) OpenFile

func (t *TreeBuilderFS) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)

func (*TreeBuilderFS) ReadDir

func (t *TreeBuilderFS) ReadDir(dir string) ([]os.FileInfo, error)
func (t *TreeBuilderFS) Readlink(path string) (string, error)

func (*TreeBuilderFS) Remove

func (t *TreeBuilderFS) Remove(filename string) error

func (*TreeBuilderFS) Rename

func (t *TreeBuilderFS) Rename(oldpath, newpath string) error

func (*TreeBuilderFS) Root

func (t *TreeBuilderFS) Root() string

func (*TreeBuilderFS) Stat

func (t *TreeBuilderFS) Stat(filename string) (os.FileInfo, error)
func (t *TreeBuilderFS) Symlink(target, filename string) error

func (*TreeBuilderFS) TempFile

func (t *TreeBuilderFS) TempFile(dir, prefix string) (billy.File, error)

Jump to

Keyboard shortcuts

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