Expand supercomputer, pear, storage, network, and workflow modules
Add manual API helpers across categories: net gateway capacity, compute shard plan cancel, ram pool lease release, pear target matrix and bundle/detached registry clears, argv flag reset, autobase writer full/slots, view sync isSynced, indexer bus batch publish, inverted index clear, blind relay and DHT hint listing, blind pair handoff cleanup, retransmission resolve all, version vector and OR-map clear, workflow graph complete-all-ready, and wire registry decode batch. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -115,6 +115,17 @@ class HyperP2PInvertedIndex extends EventEmitter {
|
||||
return ranked.slice(0, Math.max(0, limit | 0))
|
||||
}
|
||||
|
||||
termCount () {
|
||||
return this._terms.size
|
||||
}
|
||||
|
||||
clearAll () {
|
||||
const docs = this._docs.size
|
||||
this._terms.clear()
|
||||
this._docs.clear()
|
||||
return docs
|
||||
}
|
||||
|
||||
_gossip (data) {
|
||||
if (!this._peerMsgs) return
|
||||
gossipSend(this, data)
|
||||
|
||||
Reference in New Issue
Block a user