Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExcludeRex *regexp.Regexp
View Source
var FilterFlag bool
View Source
var GlobFlag bool
View Source
var IncludeRex *regexp.Regexp
View Source
var InputDir string
View Source
var LastAltered = "Apr 8, 2024"
View Source
var ReverseFlag bool
View Source
var SizeFlag bool
View Source
var SmartCaseFlag bool
View Source
var VerboseFlag bool
View Source
var VeryVerboseFlag bool
Functions ¶
func ExpandADash ¶
func ExpandAllDashes ¶
func ProcessDirectoryAliases ¶
func ReplaceDigits ¶
ReplaceDigits -- allows me to enter 1-9 and have it replaced with the corresponding letter, as I tend to enter "1" when I mean "a".
Types ¶
type DirAliasMapType ¶
var DirectoryAliasesMap DirAliasMapType
func GetDirectoryAliases ¶
func GetDirectoryAliases() DirAliasMapType
type FileInfoExType ¶
type FileInfoExType struct {
FI os.FileInfo
Dir string
RelPath string // this is a misnomer, but I'll leave this here.
}
FileInfoExType is what is returned by all of the routines here. Fields are file info, Dir and RelPath.
func FileSelection ¶
func FileSelection(inList []FileInfoExType) ([]FileInfoExType, error)
func MakeList ¶
func MakeList(excludeRegex *regexp.Regexp, sizeSort, reverse bool) ([]FileInfoExType, error)
MakeList returns a slice of FileInfoExType and error. I initially wrote this, and later decided to use the idiomatic name as a wrapper to this.
func MyReadDir ¶
func MyReadDir(dir string) ([]FileInfoExType, error)
func New ¶
func New() ([]FileInfoExType, error)
New -- returns a slice of FileInfoExType and error. Idiomatic way to use the routines here.
Click to show internal directories.
Click to hide internal directories.