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

Function invalid

atomic-core/src/change/format_v3/graph_fields/wire.rs:18–22  ·  view source on GitHub ↗
(message: &str)

Source from the content-addressed store, hash-verified

16 96 + role * 12 + field
17}
18pub(super) fn invalid(message: &str) -> FormatError {
19 FormatError::InvalidChangeMetadata {
20 reason: format!("graph fields: {message}"),
21 }
22}
23pub(super) fn charge(budget: &mut usize, count: usize, cost: usize) -> FormatResult<()> {
24 *budget = count
25 .checked_mul(cost)

Callers 9

getFunction · 0.70
decodeFunction · 0.70
parseMethod · 0.70
nMethod · 0.70
flagMethod · 0.70
countMethod · 0.70
pathMethod · 0.70
opMethod · 0.70
decodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected