MCPcopy Create free account
hub / github.com/Peergos/Peergos / applyToDiff

Method applyToDiff

src/peergos/server/corenode/IpfsCoreNode.java:137–239  ·  view source on GitHub ↗
(
            List<Multihash> storageProviders,
            Cid ourId,
            PublicKeyHash owner,
            MaybeMultihash original,
            MaybeMultihash updated,
            int depth,
            Function<ByteArrayWrapper, CompletableFuture<byte[]>> hasher,
            List<Champ.KeyElement<V>> higherLeftMappings,
            List<Champ.KeyElement<V>> higherRightMappings,
            Consumer<Triple<ByteArrayWrapper, Optional<V>, Optional<V>>> consumer,
            int bitWidth,
            DeletableContentAddressedStorage storage,
            Hasher cryptoHash,
            Function<Cborable, V> fromCbor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

diffMethod · 0.95
updateAllMappingsMethod · 0.95
updateMethod · 0.95

Calls 15

completedFutureMethod · 0.95
emptyMethod · 0.95
fromCborMethod · 0.95
hashAndMaskKeysMethod · 0.95
getElementMethod · 0.95
emptyMethod · 0.95
combineAllMethod · 0.95
orElseGetMethod · 0.80
orElseMethod · 0.80
emptyListMethod · 0.80
isShardMethod · 0.80
asListMethod · 0.80

Tested by 1

diffMethod · 0.76