How to use the readlinkSync function from graceful-fs
Find comprehensive JavaScript graceful-fs.readlinkSync code examples handpicked from public code repositorys.
GitHub: canarddu38/DUCKSPLOIT
503 504 505 506 507 508 509 510 511 512 513 514
exports.readFile = readFile; exports.readFileSync = readFileSync; // readlink exports.readlink = Promise.promisify(fs.readlink); exports.readlinkSync = fs.readlinkSync; // realpath exports.realpath = Promise.promisify(fs.realpath); exports.realpathSync = fs.realpathSync;
9
48
0
+ 7 other calls in file
208 209 210 211 212 213 214 215 216 217 218 219
exports.readBinLink = function (path) { if (isWindows) { return readCmdShim.sync(path) } else { return fs.readlinkSync(path) } } exports.skipIfWindows = function (why) {
0
0
0
+ 3 other calls in file
132 133 134 135 136 137 138 139 140 141 142 143
const resolvedDest = checkPaths(srcItem, destItem) return startCopy(resolvedDest, srcItem, destItem, opts) } function onLink (resolvedDest, src, dest, opts) { let resolvedSrc = fs.readlinkSync(src) if (opts.dereference) { resolvedSrc = path.resolve(process.cwd(), resolvedSrc) }
0
0
0
+ 5 other calls in file
graceful-fs.promises is the most popular function in graceful-fs (1135 examples)