(&self)
| 52 | |
| 53 | impl Command for Repo { |
| 54 | fn run(&self) -> CliResult<()> { |
| 55 | let root = find_repository_root()?; |
| 56 | match &self.command { |
| 57 | RepoCommand::Identity { |
| 58 | command: IdentityCommand::Show { json }, |
| 59 | } => Self::show(&root, *json), |
| 60 | RepoCommand::Identity { |
| 61 | command: IdentityCommand::Adopt { remote, json }, |
| 62 | } => Self::adopt(&root, remote.as_deref(), *json), |
| 63 | RepoCommand::Identity { |
| 64 | command: IdentityCommand::Fork { json }, |
| 65 | } => Self::fork(&root, *json), |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | impl Repo { |
nothing calls this directly
no test coverage detected