Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "du [<dir>]", Short: "Own implemetation of \"du\"", Args: cobra.MaximumNArgs(1), Run: func(c *cobra.Command, args []string) { dir, err := os.Getwd() if err != nil { fmt.Println(err) os.Exit(1) } if len(args) == 1 { dir = args[0] } du_utils.RunDiskUsage(!FlagNoHumanReadable, FlagThreshold, dir, FlagMaxDepth, false) }, }
View Source
var FlagMaxDepth int
View Source
var FlagNoHumanReadable bool
View Source
var FlagThreshold string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.