Attach observed-but-unbound commit identifiers to these refusal details. Recording an unbound commit claims nothing about authorship: it is the durable observation that the commit happened and no authenticated capture covers it (RFC §10.3.2, §10.5).
(mut self, commits: Vec<String>)
| 124 | /// durable observation that the commit happened and no authenticated |
| 125 | /// capture covers it (RFC §10.3.2, §10.5). |
| 126 | pub fn with_unbound_commits(mut self, commits: Vec<String>) -> Self { |
| 127 | let mut commits: Vec<String> = commits |
| 128 | .into_iter() |
| 129 | .filter(|commit| !commit.is_empty()) |
| 130 | .collect(); |
| 131 | commits.sort(); |
| 132 | commits.dedup(); |
| 133 | self.unbound_commits = commits; |
| 134 | self |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | impl std::fmt::Display for IncompleteSession { |