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

Method _getCuePath

external/.scrollLibs.js:15704–15708  ·  view source on GitHub ↗
(relativeTo)

Source from the content-addressed store, hash-verified

15702 }
15703 // todo: return array? getPathArray?
15704 _getCuePath(relativeTo) {
15705 if (this.isRoot(relativeTo)) return ""
15706 else if (this.parent.isRoot(relativeTo)) return this.cue
15707 return this.parent._getCuePath(relativeTo) + this.edgeSymbol + this.cue
15708 }
15709 getCuePathRelativeTo(relativeTo) {
15710 return this._getCuePath(relativeTo)
15711 }

Callers 3

getCuePathRelativeToMethod · 0.95
getCuePathMethod · 0.95
findParticlesMethod · 0.80

Calls 1

isRootMethod · 0.95

Tested by

no test coverage detected