Documentation ¶
Index ¶
- func CmpAccessTime(f1, f2 *File) int
- func CmpBlockSize(f1, f2 *File) int
- func CmpCreationTime(f1, f2 *File) int
- func CmpDir(f1, f2 *File) int
- func CmpExt(f1, f2 *File) int
- func CmpModificationTime(f1, f2 *File) int
- func CmpName(f1, f2 *File) int
- func CmpNatural(f1, f2 *File) int
- func CmpSize(f1, f2 *File) int
- type CmpFunc
- type File
- func (f *File) AbsolutePath() string
- func (f *File) AbsoluteSplit() (dirname, name string)
- func (f *File) AccessTime() time.Time
- func (f *File) AddChildren(children ...*File)
- func (f *File) BlockSize() int64
- func (f *File) Children() FileList
- func (f *File) CreationTime() time.Time
- func (f *File) DirName() string
- func (f *File) DirSize() (size int64)
- func (f *File) Extension() string
- func (f *File) Flatten(only_dirs ...bool) (fl FileList)
- func (f *File) Group() string
- func (f *File) GroupID() string
- func (f *File) HasMode(mask os.FileMode) bool
- func (f *File) IsCharDevice() bool
- func (f *File) IsDevice() bool
- func (f *File) IsDir() bool
- func (f *File) IsGid() bool
- func (f *File) IsIrregular() bool
- func (f *File) IsPipe() bool
- func (f *File) IsRegular() bool
- func (f *File) IsSocket() bool
- func (f *File) IsSticky() bool
- func (f *File) IsSymlink() bool
- func (f *File) IsUid() bool
- func (f *File) LinkPath() string
- func (f *File) Mode() os.FileMode
- func (f *File) ModificationTime() time.Time
- func (f *File) Name() string
- func (f *File) Owner() string
- func (f *File) OwnerID() string
- func (f *File) Parent() *File
- func (f *File) Path() string
- func (f *File) SearchChildren(deepness int, searchOptions ...bool) (children FileList)
- func (f *File) SearchParent() *File
- func (f *File) SetParent(p *File, both ...bool)
- func (f *File) Size() int64
- func (f *File) Split() (dirname, name string)
- type FileList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmpAccessTime ¶
func CmpBlockSize ¶
func CmpCreationTime ¶
func CmpModificationTime ¶
func CmpNatural ¶
Types ¶
type CmpFunc ¶
func ReverseCmp ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) AbsolutePath ¶
func (*File) AbsoluteSplit ¶ added in v1.4.3
func (*File) AccessTime ¶
func (*File) AddChildren ¶ added in v1.4.0
func (*File) CreationTime ¶
func (*File) IsCharDevice ¶
func (*File) IsIrregular ¶
func (*File) ModificationTime ¶
func (*File) SearchChildren ¶
func (*File) SearchParent ¶ added in v1.3.1
Click to show internal directories.
Click to hide internal directories.