(path: impl Into<String>)
| 30 | /// Create a new globalized file result. |
| 31 | #[must_use] |
| 32 | pub fn new(path: impl Into<String>) -> Self { |
| 33 | Self { |
| 34 | path: path.into(), |
| 35 | hunks: Vec::new(), |
| 36 | bytes_added: 0, |
| 37 | dependency_count: 0, |
| 38 | file_ops: None, |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /// Add a graph_op to the result. |
| 43 | pub fn add_hunk(&mut self, graph_op: GraphOp<Option<Hash>>) { |
nothing calls this directly
no outgoing calls
no test coverage detected