Create an empty result (for files with no content).
()
| 131 | impl RetrieveResult { |
| 132 | /// Create an empty result (for files with no content). |
| 133 | pub fn empty() -> Self { |
| 134 | Self { |
| 135 | content: Vec::new(), |
| 136 | vertices_processed: 0, |
| 137 | has_conflicts: false, |
| 138 | conflict_count: 0, |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | /// Create a result with content. |
| 143 | pub fn with_content(content: Vec<u8>, vertices: usize) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected