Documentation ¶
Index ¶
- type TreeBuilderFS
- func (t *TreeBuilderFS) Chroot(dir string) (billy.Filesystem, error)
- func (t *TreeBuilderFS) Create(filename string) (billy.File, error)
- func (t *TreeBuilderFS) Insert() (*git.Oid, error)
- func (t *TreeBuilderFS) Join(elem ...string) string
- func (t *TreeBuilderFS) Lstat(path string) (os.FileInfo, error)
- func (t *TreeBuilderFS) MkdirAll(dir string, perm os.FileMode) error
- func (t *TreeBuilderFS) Open(filename string) (billy.File, error)
- func (t *TreeBuilderFS) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)
- func (t *TreeBuilderFS) ReadDir(dir string) ([]os.FileInfo, error)
- func (t *TreeBuilderFS) Readlink(path string) (string, error)
- func (t *TreeBuilderFS) Remove(filename string) error
- func (t *TreeBuilderFS) Rename(oldpath, newpath string) error
- func (t *TreeBuilderFS) Root() string
- func (t *TreeBuilderFS) Stat(filename string) (os.FileInfo, error)
- func (t *TreeBuilderFS) Symlink(target, filename string) error
- func (t *TreeBuilderFS) TempFile(dir, prefix string) (billy.File, error)
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) Join ¶
func (t *TreeBuilderFS) Join(elem ...string) string
func (*TreeBuilderFS) MkdirAll ¶
func (t *TreeBuilderFS) MkdirAll(dir string, perm os.FileMode) 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) Symlink ¶
func (t *TreeBuilderFS) Symlink(target, filename string) error
Click to show internal directories.
Click to hide internal directories.