MCPcopy Create free account
hub / github.com/protomaps/PMTiles / constructor

Method constructor

js/test/v3.test.ts:165–169  ·  view source on GitHub ↗
(path: string, key: string)

Source from the content-addressed store, hash-verified

163 etag?: string;
164
165 constructor(path: string, key: string) {
166 this.path = path;
167 this.buffer = fs.readFileSync(path);
168 this.key = key;
169 }
170
171 getKey() {
172 return this.key;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected