mirror of
https://github.com/restic/restic.git
synced 2025-12-03 23:11:47 +00:00
restic ls --json: print "size":0 for empty files
This commit is contained in:
8
changelog/unreleased/issue-3247
Normal file
8
changelog/unreleased/issue-3247
Normal file
@@ -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