rename 'get-dirsize' to 'calcdirsize'

cc #750
This commit is contained in:
Gokcehan committed 2022-02-12 12:40:07 +03:00
1 parent b08ab8dfb7
commit 73f990cdb6
5 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -919,10 +919,10 @@ func (e *callExpr) eval(app *app, args []string) {
app.nav.invert()
case "unselect":
app.nav.unselect()
case "get-dirsize":
case "calcdirsize":
err := app.nav.getDirSize()
if err != nil {
app.ui.echoerrf("get-dirsize: %s", err)
app.ui.echoerrf("calcdirsize: %s", err)
return
}
app.ui.loadFileInfo(app.nav)