MCPcopy Create free account
hub / github.com/boxbeam/RedLib / move

Method move

src/redempt/redlib/blockdata/BlockDataManager.java:227–229  ·  view source on GitHub ↗

Moves a DataBlock to a new location @param db The DataBlock whose data should be moved @param block The Block to move the data to @return The new DataBlock

(DataBlock db, Block block)

Source from the content-addressed store, hash-verified

225 * @return The new DataBlock
226 */
227 public DataBlock move(DataBlock db, Block block) {
228 return unwrap(moveAsync(db, block));
229 }
230
231 /**
232 * Loads the data for a chunk asynchronously

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.95
moveAsyncMethod · 0.95

Tested by

no test coverage detected