proxmox-backup/pbs-datastore
Stefan Sterz 66ad63bac2 fix #4001: datastore/catalog: add number of files to directory entry
When listing the content of a catalog, add the number of files
contained in the directory as its size. Also removes redundant code,
the `mtime` and the `size` of a file is already set when creating the
archive entry, but we naturally need to override the size now for
directories.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-05-15 14:08:51 +02:00
..
examples datastore: add max-depth to recursive namespace iter 2022-05-12 09:33:50 +02:00
src fix #4001: datastore/catalog: add number of files to directory entry 2022-05-15 14:08:51 +02:00
Cargo.toml bump proxmox-schema dependency to 1.3.1 for streaming attribute 2022-04-13 08:20:27 +02:00