PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
util
var Q = require('q'); var fs = require('./fs'); function validLink(file) { // Ensures that a file is a symlink that points // to a valid file return Q.nfcall(fs.lstat, file) .then(function(lstat) { if (!lstat.isSymbolicLink()) { return [false]; } return Q.nfcall(fs.stat, file).then(function(stat) { return [stat]; }); }) .fail(function(err) { return [false, err]; }); } module.exports = validLink;
[-] resolve.js
[edit]
[-] copy.js
[edit]
[+]
..
[-] relativeToBaseDir.js
[edit]
[-] validLink.js
[edit]
[-] readJson.js
[edit]
[-] template.js
[edit]
[-] rimraf.js
[edit]
[-] semver.js
[edit]
[-] isPathAbsolute.js
[edit]
[-] cmd.js
[edit]
[-] fs.js
[edit]
[-] createLink.js
[edit]
[-] download.js
[edit]
[-] abbreviations.js
[edit]
[-] extract.js
[edit]
[-] createError.js
[edit]
[-] userAgent.js
[edit]
[-] rootCheck.js
[edit]
[-] cli.js
[edit]
[-] removeIgnores.js
[edit]