Lines Matching refs:absPath
580 walk(cfg.outDistDir, (absPath) => {
581 const contents = fs.readFileSync(absPath);
582 const relPath = path.relative(cfg.outDistDir, absPath);
621 let absPath = path.normalize(path.join(cfg.outDistRootDir, uri));
626 absPath = pjoin(ROOT_DIR, uri);
630 if (path.relative(ROOT_DIR, absPath).startsWith('..')) {
636 fs.readFile(absPath, function(err, data) {
654 'Last-Modified': fs.statSync(absPath).mtime.toUTCString(),
678 walk(cfg.outDistDir, (absPath) => {
679 relPaths.add(path.relative(cfg.outDistDir, absPath));
739 function scanFile(absPath) { argument
740 console.assert(fs.existsSync(absPath));
741 console.assert(path.isAbsolute(absPath));
742 const normPath = path.relative(ROOT_DIR, absPath);
747 rule.f(absPath, captureGroup);
755 const filterFn = regex ? (absPath) => regex.test(absPath) : () => true;