Show on-disk file size in victory inspect #649

Manually merged
github merged 1 commit from gh-pr/649/head into gh-pr/649/base 2026-11-26 04:11:31 +00:00
Owner

@⁠askharoun on GitHub · 2026-11-24 06:11 UTC · original
askharoun:inspect-file-size → main · +1 −0 · 1 files · 1 commits · merged 2026-11-25 00:11 UTC

What

Print the file size in bytes alongside the BLAKE3 hash. This makes it easier to distinguish the size on disk from the mapped image size.

Tested

Reviewed the one-line change. Cargo was unavailable, so the CLI was not run.

**@⁠askharoun** on GitHub · 2026-11-24 06:11 UTC · [original](https://github.com/Marvisak/VIctory/pull/649) `askharoun:inspect-file-size` → `main` · +1 −0 · 1 files · 1 commits · merged 2026-11-25 00:11 UTC ## What Print the file size in bytes alongside the BLAKE3 hash. This makes it easier to distinguish the size on disk from the mapped image size. ## Tested Reviewed the one-line change. Cargo was unavailable, so the CLI was not run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:11:30 +00:00
github manually merged commit 43e2ca9de2 into gh-pr/649/base 2026-11-26 04:11:31 +00:00
Author
Owner

@⁠ErRusso on GitHub · 2026-11-24 11:19 UTC · original

Audit: ✅ Looks good

Reviewed this PR as part of an audit of mergeable PRs.

  • Scope: apps/victory/src/inspect.rs (+1/-0). Adds a file size N bytes line (uses data.len(), the bytes actually read) between the path and the blake3 hash in victory inspect.

Trivially correct and useful for correlating on-disk vs. logical size.

No issues found.

**@⁠ErRusso** on GitHub · 2026-11-24 11:19 UTC · [original](https://github.com/Marvisak/VIctory/pull/649#issuecomment-7129946052) ## Audit: ✅ Looks good Reviewed this PR as part of an audit of mergeable PRs. - **Scope:** `apps/victory/src/inspect.rs` (+1/-0). Adds a `file size N bytes` line (uses `data.len()`, the bytes actually read) between the path and the blake3 hash in `victory inspect`. Trivially correct and useful for correlating on-disk vs. logical size. No issues found.
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!649
No description provided.