The local repository path. Dependency messages (for `--show-deps`) are filled by the caller once the change's dependency list is known.
(repo: &Repository, hash: &Hash)
| 88 | /// The local repository path. Dependency messages (for `--show-deps`) |
| 89 | /// are filled by the caller once the change's dependency list is known. |
| 90 | pub(crate) fn from_repo(repo: &Repository, hash: &Hash) -> Self { |
| 91 | Self { |
| 92 | ledger_graphs: repo.find_provenance_for_change(hash).unwrap_or_default(), |
| 93 | dep_messages: std::collections::HashMap::new(), |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | impl ChangeCmd { |
nothing calls this directly
no test coverage detected