Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileStats = cmd.CMD{ Name: "file-stats", Alias: "fs", Short: "Reads all maps and gathers the stats for a single file", Args: &FileStatsArgs{}, Run: FileStatsRun, }
FileStats reads all maps and gathers the stats for a single file
View Source
var RankAllSizes = cmd.CMD{ Name: "rank-all-sizes", Alias: "ras", Short: "Read all maps and sort files by size", Args: &RankAllSizesArgs{}, Run: RankAllSizesRun, }
RankAllSizes reads all maps and sorts files by size
View Source
var RankSizes = cmd.CMD{ Name: "rank-sizes", Alias: "rs", Short: "Read a single map and sort files by size", Args: &RankSizesArgs{}, Run: RankSizesRun, }
RankSizes reads a single map and sorts files by size
View Source
var Root *cmd.RootCMD
Root is the main command for this application
Functions ¶
func FileStatsRun ¶
FileStatsRun carries out parsing and then prints out a single file
func RankAllSizesRun ¶
RankAllSizesRun carries out reading parsing, sorting, and listing
Types ¶
type FileStatsArgs ¶
type FileStatsArgs struct {
Path string `desc:"The full path to the file"`
}
FileStatsArgs contains the arguments for the "FileStats" subcommand
type RankAllSizesArgs ¶
type RankAllSizesArgs struct{}
RankAllSizesArgs contains the arguments for the "RankAllSizes" subcommand
type RankSizesArgs ¶
type RankSizesArgs struct {
PID string `desc:"The Process ID of the map to scan"`
}
RankSizesArgs contains the arguments for the "RankSizes" subcommand
Click to show internal directories.
Click to hide internal directories.