Add a graph_op to the recorded actions. # Arguments `graph_op` - The graph_op to add # Returns The index of the added graph_op (for associating inode updates).
(&mut self, graph_op: GraphOp<Option<Hash>>)
| 294 | /// |
| 295 | /// The index of the added graph_op (for associating inode updates). |
| 296 | pub fn add_hunk(&mut self, graph_op: GraphOp<Option<Hash>>) -> usize { |
| 297 | let index = self.actions.len(); |
| 298 | self.actions.push(graph_op); |
| 299 | index |
| 300 | } |
| 301 | |
| 302 | /// Associate an inode update with a graph_op. |
| 303 | /// |