Documentation ¶
Overview ¶
Package files finds and displays files on disk
Index ¶
- func ConfirmClean(confirm bool, fs Files) error
- func ConfirmRestore(confirm bool, fs Files) error
- func ConfirmTrash(confirm bool, fs Files) error
- func SortByExtension(a, b File) int
- func SortByExtensionReverse(a, b File) int
- func SortByModified(a, b File) int
- func SortByModifiedReverse(a, b File) int
- func SortByName(a, b File) int
- func SortByNameReverse(a, b File) int
- func SortByPath(a, b File) int
- func SortByPathReverse(a, b File) int
- func SortBySize(a, b File) int
- func SortBySizeReverse(a, b File) int
- func SortDirectoriesFirst(a, b File) int
- func SortDirectoriesLast(a, b File) int
- func WriteDirectorySizes()
- type DiskFile
- type File
- type Files
- type TrashInfo
- func (t TrashInfo) Date() time.Time
- func (t TrashInfo) Filesize() int64
- func (t TrashInfo) IsDir() bool
- func (t TrashInfo) Mode() fs.FileMode
- func (t TrashInfo) Name() string
- func (t TrashInfo) Path() string
- func (t TrashInfo) String() string
- func (t TrashInfo) TrashInfo() string
- func (t TrashInfo) TrashPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmClean ¶
func ConfirmRestore ¶
func ConfirmTrash ¶
func SortByExtension ¶
func SortByExtensionReverse ¶
func SortByModified ¶
func SortByModifiedReverse ¶
func SortByName ¶
func SortByNameReverse ¶
func SortByPath ¶
func SortByPathReverse ¶
func SortBySize ¶
func SortBySizeReverse ¶
func SortDirectoriesFirst ¶
func SortDirectoriesLast ¶
func WriteDirectorySizes ¶ added in v0.0.3
func WriteDirectorySizes()
Types ¶
Click to show internal directories.
Click to hide internal directories.