(command: &str)
| 644 | } |
| 645 | |
| 646 | fn app_bundle_path_from_command(command: &str) -> Option<String> { |
| 647 | let marker = if command.contains(".app/") { |
| 648 | ".app/" |
| 649 | } else { |
| 650 | ".appex/" |
| 651 | }; |
| 652 | let command = command.trim(); |
| 653 | let end = command.find(marker)? + marker.trim_end_matches('/').len(); |
| 654 | let start = command[..end].find('/').unwrap_or(0); |
| 655 | Some(command[start..end].trim_matches('"').to_owned()) |
| 656 | } |
| 657 | |
| 658 | struct AppMetadata { |
| 659 | app_name: Option<String>, |
no outgoing calls
no test coverage detected