MCPcopy Create free account
hub / github.com/MnO2/cedarwood / transfer_block

Method transfer_block

src/lib.rs:744–750  ·  view source on GitHub ↗

transfer the block at idx from the linked-list of `from` to the linked-list of `to`, specially handle the case where the destination linked-list is empty.

(&mut self, idx: i32, from: BlockType, to: BlockType, to_block_empty: bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

pop_e_nodeMethod · 0.80
push_e_nodeMethod · 0.80
find_placesMethod · 0.80

Calls 2

pop_blockMethod · 0.80
push_blockMethod · 0.80

Tested by

no test coverage detected