git ssb

0+

cel / ssb-exec



Commit 83e13c780bb0d57b34ae589acedd7c977b24cb88

rename to ssb-exec

cel committed on 2/6/2019, 7:14:36 PM
Parent: f9a1e7ce68e016203a2b7c929edb0440948db551

Files changed

index.jschanged
index.jsView
@@ -10,19 +10,19 @@
1010 var hex = new Buffer(m[1], 'base64').toString('hex')
1111 return require(path.join(blobsDir, m[2], hex.substr(0, 2), hex.substr(2)))
1212 }
1313
14-exports.name = 'blob-modules'
14 +exports.name = 'exec'
1515 exports.version = '1.0.0'
1616 exports.manifest = {
1717 }
1818 exports.init = function (sbot, config) {
1919 if (!sbot.ws || !sbot.ws.use) return console.trace('missing ssb-ws')
20- var prefix = '/blob-modules'
21- var dir = path.join(config.path, 'blob-modules')
20 + var prefix = '/exec'
21 + var dir = path.join(config.path, 'exec')
2222 blobsDir = path.join(config.path, 'blobs')
2323 var mtimes = {}
24- console.log('[blob-modules] init. dir:', dir, 'prefix:', prefix)
24 + console.log('[exec] init. dir:', dir, 'prefix:', prefix)
2525
2626 function getModule(resolved, tried, cb) {
2727 try {
2828 var module = require(resolved)

Built with git-ssb-web