Files
fastfetch/src/detection
李通洲 f93ffed57a Disk: fix Windows quota affecting free space and unify disk size calculation
- Windows: use FILE_FS_FULL_SIZE_INFORMATION_EX on Windows 10 1809+ (Build >= 17763) when calcType != AVAILABLE to get ActualTotalAllocationUnits/ActualAvailableAllocationUnits (ignoring per-user disk quotas). Fall back to legacy FILE_FS_FULL_SIZE_INFORMATION with CallerAvailableAllocationUnits when calcType is AVAILABLE or EX is unavailable.
- Unix-like: respect --disk-calc-type. Use f_bfree for FREE, f_bavail for AVAILABLE (Linux/BSD/SunOS). Haiku currently always uses free_blocks.
- Refactor FFDisk: remove bytesUsed and bytesAvailable; compute used = total - free in disk module.
- Disk module: update custom format (remove `size-available`, add `bytes-used` and `bytes-total`); update JSON output (remove `bytes.available`, `bytes.used`).
- Disk detection: stop computing used in common path; let each platform set bytesFree by chosen semantics.

Fixes #2651
2026-10-13 15:35:12 +08:00
..
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-07 00:35:45 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 12:29:52 +08:00
2026-10-03 12:29:52 +08:00
2026-10-11 14:53:32 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-06 09:31:58 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-07-10 18:10:09 +08:00
2026-09-22 00:45:40 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-06-13 12:29:51 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00
2026-10-03 18:09:17 +08:00