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

Method content_out_of_bounds

atomic-core/src/crdt/apply/error.rs:407–413  ·  view source on GitHub ↗
(start: usize, end: usize, content_len: usize)

Source from the content-addressed store, hash-verified

405 /// Creates a `ContentOutOfBounds` error.
406 #[inline]
407 pub fn content_out_of_bounds(start: usize, end: usize, content_len: usize) -> Self {
408 ApplyError::ContentOutOfBounds {
409 start,
410 end,
411 content_len,
412 }
413 }
414
415 /// Creates an `InvalidContent` error.
416 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected