mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-08 01:53:52 +00:00
Schema:
asset_extract --purge-proprietary Data --json
{
"dir": "Data",
"confirmed": false,
"candidates": 21570,
"removed": 0,
"totalBytes": 17175328768
}
"candidates" = files where a sidecar exists and is at least as
new (would be deleted on --confirm-purge). "removed" reflects the
actual delete count when --confirm-purge is set; 0 in dry-run.
Lets CI scripts gate on the dry-run candidate count before actually
purging:
count=$(asset_extract --purge-proprietary Data --json | jq .candidates)
[ "$count" -gt 1000 ] && asset_extract --purge-proprietary Data --confirm-purge
The asset_extract --json flag now applies to both upgrade and purge
modes.
|
||
|---|---|---|
| .. | ||
| extractor.cpp | ||
| extractor.hpp | ||
| main.cpp | ||
| manifest_writer.cpp | ||
| manifest_writer.hpp | ||
| open_format_emitter.cpp | ||
| open_format_emitter.hpp | ||
| path_mapper.cpp | ||
| path_mapper.hpp | ||