Creates a new representation of disk space.
(bytes: u64, files: u64)
| 91 | impl DiskSpace { |
| 92 | /// Creates a new representation of disk space. |
| 93 | pub fn new(bytes: u64, files: u64) -> Self { |
| 94 | Self { bytes, files } |
| 95 | } |
| 96 | |
| 97 | /// Returns the amount of bytes in this disk space. |
| 98 | pub fn bytes(&self) -> u64 { |