Lines Matching refs:file
17 isFile: function (file, cb) { argument
18 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
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));
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)));
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)));
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)));
204 readFile: function (file, cb) { argument
205 cb(null, files[path.resolve(file)]);
207 realpath: function (file, cb) { argument
208 var resolved = path.resolve(file);
258 isFile: function (file, cb) { argument
259 cb(null, Object.prototype.hasOwnProperty.call(files, path.resolve(file)));
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
286 if (file.slice(-barPackage.length) === barPackage) {
289 cb(null, JSON.parse(files[path.resolve(file)]));