mirror of
https://github.com/restic/restic.git
synced 2026-11-06 15:29:21 +00:00
restic ls --json: print "size":0 for empty files
This commit is contained in:
1 parent
af3de702c7
commit
d7322a5f36
3 files changed
+137
-26
No files matched your search
@@ -0,0 +1,8 @@
|
||||
Change: Empty files now have size of 0 in restic ls --json output
|
||||
|
||||
Restic ls --json used to omit the sizes of empty files in its output. It now
|
||||
reports "size":0 explicitly for regular files, while omitting the size field
|
||||
for all other types.
|
||||
|
||||
https://github.com/restic/restic/issues/3247
|
||||
https://github.com/restic/restic/pull/3257
|
||||
Reference in new issue
Block a user