Function
hermes_selected_profile_targets
(
home: &Path,
profile: &Option<String>,
all_profiles: bool,
)
Source from the content-addressed store, hash-verified
| 216 | } |
| 217 | |
| 218 | pub(crate) fn hermes_selected_profile_targets( |
| 219 | home: &Path, |
| 220 | profile: &Option<String>, |
| 221 | all_profiles: bool, |
| 222 | ) -> tracedecay::errors::Result<Vec<Option<String>>> { |
| 223 | if all_profiles { |
| 224 | hermes_profile_targets(home) |
| 225 | } else { |
| 226 | Ok(vec![profile.clone()]) |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | pub(crate) async fn handle_install_command( |
| 231 | agent: Option<String>, |