feat(win): use size on disk for apparent size for OneDrive files (#370)

* feat(win): use size on disk for apparent size for OneDrive files

* apply changes from code review

* run cargo fmt
This commit is contained in:
pandaninjas
2024-02-24 10:05:11 -05:00
committed by GitHub
parent 4a2778b6ea
commit a4b5d8573b
3 changed files with 46 additions and 11 deletions
Generated
+10
View File
@@ -249,6 +249,7 @@ dependencies = [
"clap_mangen",
"config-file",
"directories",
"filesize",
"lscolors",
"rayon",
"regex",
@@ -284,6 +285,15 @@ version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
[[package]]
name = "filesize"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12d741e2415d4e2e5bd1c1d00409d1a8865a57892c2d689b504365655d237d43"
dependencies = [
"winapi",
]
[[package]]
name = "getrandom"
version = "0.2.12"