MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / Cursor

Class Cursor

edit/src/main.rs:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected