MCPcopy Create free account
hub / github.com/breck7/scroll / particleIndex

Method particleIndex

external/.scrollLibs.js:18147–18152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18145 return index
18146 }
18147 get particleIndex() {
18148 // StringMap<int> {cue: index}
18149 // When there are multiple tails with the same cue, index stores the last content.
18150 // todo: change the above behavior: when a collision occurs, create an array.
18151 return this._particleIndex || this._makeParticleIndex()
18152 }
18153 _clearCueIndex() {
18154 delete this._particleIndex
18155 return super._clearCueIndex()

Callers

nothing calls this directly

Calls 1

_makeParticleIndexMethod · 0.95

Tested by

no test coverage detected