MCPcopy
hub / github.com/openseadragon/openseadragon / toString

Method toString

src/tilecache.js:476–479  ·  view source on GitHub ↗

* Get cache description. Used for system messages and errors. * @return {string}

()

Source from the content-addressed store, hash-verified

474 * @return {string}
475 */
476 toString() {
477 const tile = this._tRef || (this._tiles.length && this._tiles[0]);
478 return tile ? `Cache ${this.type} [used e.g. by ${tile.toString()}]` : `Orphan cache!`;
479 }
480
481 /**
482 * Set initial state, prepare for usage.

Callers 15

index.test-d.tsFile · 0.80
assertRectEqualsFunction · 0.80
assertCornerTilesFunction · 0.80
assertTileAtPointFunction · 0.80
assertLevelScaleFunction · 0.80
checkBoundsFunction · 0.80
demo.jsFile · 0.80
_drawTileMethod · 0.80
_drawDebugInfoOnTileMethod · 0.80
_drawTileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected