Show directory size in ruler (#2343)
* Added dirSize to Size field and changed humanize function accordingly * Seperated size into own fields and changed type to use pointers * Added Documentation and Changelog
This commit is contained in:
1 parent
b5d981ad4a
commit
fa8e3788de
6 files changed
+22
-2
No files matched your search
@@ -2512,6 +2512,8 @@ The following data fields are exported:
|
||||
.Stat.Name string Name of the current file
|
||||
.Stat.Extension string Extension of the current file
|
||||
.Stat.Size uint64 Size of the current file
|
||||
.Stat.DirSize *uint64 Total Size of the current directory if calculated via `calcdirsize`
|
||||
.Stat.DirCount *uint64 Number of items in the current directory if `dircounts` option is enabled
|
||||
.Stat.Permissions string Permissions of the current file
|
||||
.Stat.ModTime string Last modified time of the current file (formatted based on the `timefmt` option)
|
||||
.Stat.AccessTime string Last access time of the current file (formatted based on the `timefmt` option)
|
||||
|
||||
Reference in new issue
Block a user