]> git.proxmox.com Git - proxmox-backup.git/commit
tools/format: implement from u64 for HumanByte helper type
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Aug 2020 12:18:48 +0000 (14:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Aug 2020 12:18:49 +0000 (14:18 +0200)
commitc86b6f40d70c600c6d279752d838a290017321d1
tree06ed52a1ce3eecbb200ffed6f5985852bfc06dcd
parent5a718dce17992532b6b9aba5e93679c16019721a
tools/format: implement from u64 for HumanByte helper type

Could be problematic for systems where usize is 32 bit, but we do not
really support those.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/tools/format.rs