MCPcopy Create free account
hub / github.com/DataDrake/proc-maps / RankAllSizesRun

Function RankAllSizesRun

cli/rank-all-sizes.go:39–44  ·  view source on GitHub ↗

RankAllSizesRun carries out reading parsing, sorting, and listing

(r *cmd.RootCMD, c *cmd.CMD)

Source from the content-addressed store, hash-verified

37
38// RankAllSizesRun carries out reading parsing, sorting, and listing
39func RankAllSizesRun(r *cmd.RootCMD, c *cmd.CMD) {
40 //args := c.Args.(*RankAllSizesArgs)
41 s := sorts.NewBySize(data.ParseMaps())
42 s.Print()
43 os.Exit(0)
44}

Callers

nothing calls this directly

Calls 3

PrintMethod · 0.95
NewBySizeFunction · 0.92
ParseMapsFunction · 0.92

Tested by

no test coverage detected