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

Function event

atomic-core/src/pristine/path_claim.rs:251–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249 use super::*;
250
251 fn event() -> PathClaimEvent {
252 PathClaimEvent::new(
253 NodeId::new(9),
254 17,
255 PathClaimKind::Directory,
256 PathClaimState::Dead,
257 PathClaimId::new(
258 Position::new(NodeId::new(3), ChangePosition::new(41)),
259 GraphNode::new(
260 NodeId::new(4),
261 ChangePosition::new(5),
262 ChangePosition::new(11),
263 ),
264 GraphNode::new(
265 NodeId::new(7),
266 ChangePosition::new(13),
267 ChangePosition::new(21),
268 ),
269 NodeId::new(7),
270 ),
271 )
272 }
273
274 #[test]
275 fn path_claim_codec_is_fixed_width_and_roundtrips() {

Calls

no outgoing calls