MCPcopy Create free account
hub / github.com/socketstream/socketstream / KnownPoint

Function KnownPoint

lib/http/cached.js:26–32  ·  view source on GitHub ↗
(url, fn, filePath)

Source from the content-addressed store, hash-verified

24 var byPath = {};
25
26 function KnownPoint(url, fn, filePath) {
27 this.url = url;
28 if (fn) { this.handle = fn; }
29 if (filePath) { this.filePath = filePath; }
30
31 byPath[url] = this;
32 }
33
34 KnownPoint.prototype.options = {};
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected