Lines Matching refs:cb

17             isFile: function (file, cb) {  argument
18 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
20 isDirectory: function (dir, cb) { argument
21 cb(null, !!dirs[path.resolve(dir)]);
23 readFile: function (file, cb) { argument
24 cb(null, files[path.resolve(file)]);
26 realpath: function (file, cb) { argument
27 cb(null, file);
67 isFile: function (file, cb) { argument
68 cb(null, Object.prototype.hasOwnProperty.call(files, file));
70 isDirectory: function (dir, cb) { argument
71 cb(null, !!dirs[path.resolve(dir)]);
74 readFile: function (file, cb) { argument
75 cb(null, files[file]);
77 realpath: function (file, cb) { argument
78 cb(null, file);
122 isFile: function (file, cb) { argument
123 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
125 isDirectory: function (dir, cb) { argument
126 cb(null, !!dirs[path.resolve(dir)]);
128 readFile: function (file, cb) { argument
129 cb(null, files[path.resolve(file)]);
131 realpath: function (file, cb) { argument
132 cb(null, file);
160 isFile: function (file, cb) { argument
161 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
163 isDirectory: function (dir, cb) { argument
164 cb(null, !!dirs[path.resolve(dir)]);
167 readFile: function (file, cb) { argument
168 cb(null, files[path.resolve(file)]);
170 realpath: function (file, cb) { argument
171 cb(null, file);
198 isFile: function (file, cb) { argument
199 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
201 isDirectory: function (dir, cb) { argument
202 cb(null, !!dirs[path.resolve(dir)]);
204 readFile: function (file, cb) { argument
205 cb(null, files[path.resolve(file)]);
207 realpath: function (file, cb) { argument
211 cb(null, resolved);
220 cb(null, path.join(dir, 'symlinked', base));
222 cb(null, path.join(resolved, 'symlinked'));
258 isFile: function (file, cb) { argument
259 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
261 isDirectory: function (dir, cb) { argument
262 cb(null, !!dirs[path.resolve(dir)]);
265 readFile: function (file, cb) { argument
266 cb(null, files[path.resolve(file)]);
268 realpath: function (file, cb) { argument
269 cb(null, file);
284 var readPackage = function (readFile, file, cb) { argument
287 cb(null, { main: './something-else.js' });
289 cb(null, JSON.parse(files[path.resolve(file)]));