MCPcopy Create free account
hub / github.com/entropic-dev/entropic / constructor

Method constructor

services/storage/lib/object-storage.js:77–80  ·  view source on GitHub ↗
(dir = process.env.CACHE_DIR || '.')

Source from the content-addressed store, hash-verified

75
76 static FileSystemStrategy = class {
77 constructor(dir = process.env.CACHE_DIR || '.') {
78 this.dir = dir;
79 this.algos = new Set();
80 }
81
82 async get(algo, digest) {
83 digest = encodeURIComponent(digest);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected