Documentation ¶
Index ¶
- Variables
- type File
- func (self *File) Delete(name string) error
- func (self *File) FindFile(pattern string) ([]string, error)
- func (self *File) Get(name string, not_found_is_error bool) (*File, error)
- func (self *File) GetByPath(pth []string, create_if_not_exists bool, last_element_is_file bool, ...) (*File, error)
- func (self *File) GetRoot() *File
- func (self *File) GetValue() interface{}
- func (self *File) Have(name string) (bool, error)
- func (self *File) IsDir() bool
- func (self *File) ListDir() ([]*File, []*File, error)
- func (self *File) ListDirNoSep() ([]*File, error)
- func (self *File) MkDir(name string, value interface{}) (*File, error)
- func (self *File) MkFile(name string, value interface{}) (*File, error)
- func (self *File) Name() string
- func (self *File) Parent() *File
- func (self *File) Path() ([]*File, error)
- func (self *File) PathString() (string, error)
- func (self *File) SetValue(value interface{})
- func (self *File) TreeString() (string, error)
- func (self *File) Walk(target func(path, dirs, files []*File) error) error
- type FileSlice
Constants ¶
This section is empty.
Variables ¶
View Source
var ERR_CANT_BE_USED_ON_NON_DIRECTORY = errors.New("can't be used for not dir")
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) ListDirNoSep ¶
func (*File) PathString ¶
func (*File) TreeString ¶
Click to show internal directories.
Click to hide internal directories.