Files
fastfetch/src/common
李通洲 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-03-29 10:03:32 +08:00
2026-07-10 18:09:46 +08:00
2026-09-17 21:00:36 +08:00
2026-07-10 18:10:09 +08:00
2026-09-17 21:00:36 +08:00
2026-09-22 00:45:40 +08:00
2026-09-17 21:00:36 +08:00
2026-10-10 15:40:29 +08:00
2026-07-10 18:10:09 +08:00
2026-09-17 21:00:36 +08:00
2026-09-24 21:27:51 +08:00
2026-09-17 21:00:36 +08:00
2026-10-11 23:54:08 +08:00
2026-07-10 18:09:46 +08:00
2026-10-06 01:09:14 +08:00
2026-10-03 18:35:56 +08:00
2026-09-17 21:00:36 +08:00
2026-09-17 21:00:36 +08:00
2026-09-17 21:00:36 +08:00
2026-07-10 18:10:09 +08:00
2026-09-17 21:00:36 +08:00
2026-10-03 18:39:47 +08:00
2026-09-17 21:00:36 +08:00
2026-09-17 21:00:36 +08:00
2026-09-17 21:00:36 +08:00
2026-09-17 21:00:36 +08:00
2026-07-10 18:10:09 +08:00
2026-07-14 15:07:30 +08:00
2026-09-17 21:00:36 +08:00
2026-10-11 23:54:08 +08:00