Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
handleRequest(protocol, conn) {
pull(
/* prettier-ignore */
conn,
lp.decode(),
pull.map(Message.decode),
pull.drain(message => this.processMessage(conn, message))
)
}
ls: Live(function old (opts) {
var long = (opts.size || opts.long || opts.meta)
return pull(
glob(path.join(dir, '*', '*', '*')),
long ? paramap(function (filename, cb) {
stat(filename, function (err, stat) {
cb(err, toMeta(toHash(filename), stat))
})
}, 32) : pull.map(toHash)
)
}, function live (opts) {
var long = (opts.size || opts.long || opts.meta)