git ssb

0+

Dominic / polyraf



Tree: cab74c817d6eca627e7ace39d164e880fd1b450a

Files: cab74c817d6eca627e7ace39d164e880fd1b450a / index.js

231 bytesRaw
1const RAF = require('random-access-file')
2
3module.exports = function (filename, opts) {
4 if('string' === typeof filename) {
5 const raf = RAF(filename, opts)
6 raf.filename = filename
7 return raf
8 }
9 return filename
10}
11
12
13
14

Built with git-ssb-web