MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / Local

Class Local

atomic-core/src/change/local.rs:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43/// The actual change operations use graph positions, not line numbers.
44#[derive(Clone, Debug, Default, PartialEq, Eq, Hash, Serialize, Deserialize)]
45pub struct Local {
46 /// Path to the file (relative to repository root)
47 pub path: String,
48
49 /// Line number (1-indexed) where the change occurs
50 ///
51 /// For insertions, this is the line after which content is inserted.
52 /// For deletions, this is the first line being deleted.
53 pub line: u64,
54}
55
56impl Local {
57 /// Create a new local context.

Calls

no outgoing calls