diff options
Diffstat (limited to 'stdout/stdout.go')
-rw-r--r-- | stdout/stdout.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdout/stdout.go b/stdout/stdout.go index 88995b1..7b970bf 100644 --- a/stdout/stdout.go +++ b/stdout/stdout.go @@ -36,7 +36,7 @@ func CreateStdoutUI( showProgress bool, showApparentSize bool, summarize bool, - enableGC bool, + constGC bool, useSIPrefix bool, ) *UI { ui := &UI{ @@ -45,7 +45,7 @@ func CreateStdoutUI( ShowProgress: showProgress, ShowApparentSize: showApparentSize, Analyzer: analyze.CreateAnalyzer(), - EnableGC: enableGC, + ConstGC: constGC, UseSIPrefix: useSIPrefix, }, output: output, @@ -144,7 +144,7 @@ func (ui *UI) AnalyzePath(path string, _ fs.Item) error { wait.Add(1) go func() { defer wait.Done() - dir = ui.Analyzer.AnalyzeDir(path, ui.CreateIgnoreFunc(), ui.EnableGC) + dir = ui.Analyzer.AnalyzeDir(path, ui.CreateIgnoreFunc(), ui.ConstGC) dir.UpdateStats(make(fs.HardLinkedItems, 10)) }() |