git ssb

0+

ev / mvp



Commit 7230f37363daf6ee98fab654ab98d27397914c28

turns out we need ssb-links for homework

Ev Bogue committed on 7/29/2018, 4:53:08 PM
Parent: 46ef9e90772ab5e16ae211a9cfab1ea45fcaa806

Files changed

scuttlebot.jschanged
scuttlebot.jsView
@@ -61,8 +61,11 @@
6161 CACHE[e.key] = CACHE[e.key] || e.value
6262 })
6363 )
6464 }),
65 + links: rec.source(function (query) {
66 + return sbot.links(query)
67 + }),
6568 get: rec.async(function (key, cb) {
6669 if('function' !== typeof cb)
6770 throw new Error('cb must be function')
6871 if(CACHE[key]) cb(null, CACHE[key])

Built with git-ssb-web