Documentation ¶
Index ¶
- type Directory
- func (d *Directory) Create(name string, dir bool) (*Directory, *File, error)
- func (d *Directory) Delete(name string, dir bool) error
- func (d *Directory) Dispose()
- func (d *Directory) IsChildEmpty(name string) error
- func (d *Directory) IsEmpty() bool
- func (d *Directory) Listup() []Entry
- func (d *Directory) Lookup(name string) (*Directory, *File, error)
- func (d *Directory) Rename(name, newName string) error
- type Entry
- type File
- type LocalRes
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct { Repo *Repository Res *LocalRes Obj *lockman.ObjEntry }
func (*Directory) IsChildEmpty ¶
type Repository ¶
func (*Repository) GetDir ¶
func (r *Repository) GetDir(id string) *Directory
func (*Repository) Init ¶
func (r *Repository) Init()
Click to show internal directories.
Click to hide internal directories.