Versions in this module Expand all Collapse all v0 v0.1.6 Nov 15, 2024 Changes in this version + func CopyFile(src, des string) error + func CreateDir(dirpath string) error + func Delete(path string) error + func GetPerm(path string) error + func IsExist(path string) bool + type Directory struct + Name string + Path string + func OpenDir(path string) *Directory + func (d *Directory) Copy(targetDir string) error + func (d *Directory) Delete() error + func (d *Directory) GetALLDir() []*Directory + func (d *Directory) GetAllFile(isSearchSubDir bool) []*file.File + func (d *Directory) GetChildrenDirs() []Directory + func (d *Directory) GetDir(name string) ([]*Directory, error) + func (d *Directory) GetFile(name string) ([]*file.File, error) + func (d *Directory) GetFilesAll() []file.File + func (d *Directory) GetParent() *Directory + func (d *Directory) IsExist() bool + func (d *Directory) Move(targetDir string) error + func (d *Directory) Rename(newName string) error