瀏覽代碼

Show directory size

master
Arun Prakash Jana 5 年之前
父節點
當前提交
e68e8ad8a5
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: A75979F35C080412
共有 1 個檔案被更改,包括 2 行新增5 行删除
  1. +2
    -5
      src/nnn.c

+ 2
- 5
src/nnn.c 查看文件

@@ -2417,11 +2417,8 @@ static void printent_long(const struct entry *ent, int sel, uint namecols)
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
break;
case S_IFDIR:
if (cfg.blkorder)
printw("%c%-16.16s %s %8.8s/ %s/\n",
cp, timebuf, permbuf, coolsize(ent->blocks << BLK_SHIFT), pname);
else
printw("%c%-16.16s %s / %s/\n", cp, timebuf, permbuf, pname);
printw("%c%-16.16s %s %8.8s %s/\n", cp, timebuf, permbuf,
coolsize(cfg.blkorder ? ent->blocks << BLK_SHIFT : ent->size), pname);
break;
case S_IFLNK:
printw("%c%-16.16s %s @ %s@\n", cp, timebuf, permbuf, pname);


Loading…
取消
儲存