Analyze the sandbox to detect which Pods should be removed, and which ones should be reinstalled.
The logic is the following:
Added - If not present in the sandbox lockfile. - The directory of the Pod doesn't exits.
Changed - The version of the Pod changed. - The SHA of the specification file changed. - The specific installed (sub)specs of the same Pod changed. - The specification is in head mode or from an external source and the installation process is in update mode. - The directory of the Pod is empty. - The Pod has been pre-downloaded.
Removed - If a specification is present in the lockfile but not in the resolved specs.
Unchanged - If none of the above conditions match.
Object