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

Method removeAll

src/peergos/shared/user/MutableTree.java:64–64  ·  view source on GitHub ↗

Remove all specified keys from the writer's CHAMP in a single batch operation. Substantially faster than N individual #remove calls.

(WriterData base,
                                             PublicKeyHash owner,
                                             SigningPrivateKeyAndPublicHash sharingKey,
                                             List<Pair<byte[], MaybeMultihash>> keysAndExisting,
                                             TransactionId tid)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

newMembersFromMethod · 0.65
isIncrementOfMethod · 0.65
removeAllMethod · 0.65
removeMethod · 0.65
removeAllMethod · 0.65
removeAllMethod · 0.65
syncFromMethod · 0.65
mountWindowsMethod · 0.65
bulkDeleteMethod · 0.65

Implementers 3

MutableTreeImplsrc/peergos/shared/user/MutableTreeImp
Champsrc/peergos/shared/hamt/Champ.java
ChampWrappersrc/peergos/shared/hamt/ChampWrapper.j

Calls

no outgoing calls

Tested by 3

bulkDeleteMethod · 0.52
verifyMethod · 0.52