git ssb

16+

Dominic / patchbay



Tree: 9c5fb9afa9248c901294db9eac5e350da9bc055d

Files: 9c5fb9afa9248c901294db9eac5e350da9bc055d / app / sync / initialise / dat.js

355 bytesRaw
1const nest = require('depnest')
2const datSharedFiles = require('dat-shared-files/lib')
3
4exports.gives = nest('app.sync.initialise')
5
6exports.create = function (api) {
7 return nest('app.sync.initialise', datShare)
8
9 function datShare () {
10 datSharedFiles.shareFiles(links => {
11 links.forEach(link => console.log('Sharing: ' + link))
12 })
13 }
14}
15

Built with git-ssb-web