fn plan_for_selected_path( root: &Path, key: &SessionKey, selected_path: &Path, ) -> Result<DeletionPlan>