File Explorer

/var/lang/lib/node_modules/npm/node_modules/bin-links/lib

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

link-bin.js343 B · 10 lines
const linkGently = require('./link-gently.js')const fixBin = require('./fix-bin.js') // linking bins is simple.  just symlink, and if we linked it, fix the bin upconst linkBin = ({ path, to, from, absFrom, force }) =>  linkGently({ path, to, from, absFrom, force })    .then(linked => linked && fixBin(absFrom)) module.exports = linkBin