| 27 | // Represents location in a File |
| 28 | #[derive(Clone, Copy)] |
| 29 | struct Cursor { |
| 30 | piece: usize, // Index of the piece the cursor is in |
| 31 | pos: usize, // Position inside the piece |
| 32 | } |
| 33 | |
| 34 | struct File { |
| 35 | original: Vec<u8>, // Original contents of the file |
nothing calls this directly
no outgoing calls
no test coverage detected