Creates a new file operation container.
(trunk_id: TrunkId, path: String, trunk_op: Option<TrunkOp>)
| 31 | impl FileOps { |
| 32 | /// Creates a new file operation container. |
| 33 | pub fn new(trunk_id: TrunkId, path: String, trunk_op: Option<TrunkOp>) -> Self { |
| 34 | Self { |
| 35 | trunk_id, |
| 36 | path, |
| 37 | trunk_op, |
| 38 | line_ops: Vec::new(), |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /// Creates a file creation operation. |
| 43 | pub fn create(trunk_id: TrunkId, path: String, encoding: Option<Encoding>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected