MCPcopy Index your code
hub / github.com/protomaps/PMTiles / getKey

Method getKey

js/src/index.ts:320–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318 }
319
320 getKey() {
321 return this.file.name;
322 }
323
324 async getBytes(offset: number, length: number): Promise<RangeResponse> {
325 const blob = this.file.slice(offset, offset + length);

Callers 8

getHeaderAndRootFunction · 0.45
getHeaderMethod · 0.45
getDirectoryMethod · 0.45
invalidateMethod · 0.45
getHeaderMethod · 0.45
getDirectoryMethod · 0.45
invalidateMethod · 0.45
addMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected