mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-21 23:11:45 +02:00
manager.rs mixed package install/upgrade/remove, the runtime lifecycle, listing/info helpers and tests in one 1245-line file (audit RS-14). Move each group into a sibling module under manager/, next to the existing downloads, metadata, postprocess and providers modules: - manager/install.rs: install, install_or_upgrade, stage, candidate, install_package, remove, upgrade, upgrade_package, check_upgrade and the install-only helpers error_from_rollback and remove_directory. - manager/lifecycle.rs: prepare_with_lease, validate, lifecycle, lifecycle_with_lease, teardown_runtime, teardown, failed, ready and ready_with_lease. - manager/info.rs: load_all, load_directory, installed, installed_versions, provider_ids, summary, asset and information. - manager/tests.rs: the existing unit tests. Method bodies are moved verbatim (whitespace-normalized token streams match the base), so the engine, status and download pool lock order is unchanged. Methods called from other manager submodules become pub(super) because method privacy follows the module of the impl block. No public path changes.