Lines Matching refs:path

111   function readFile (path, options, cb) {
115 return go$readFile(path, options, cb)
117 function go$readFile (path, options, cb, startTime) {
118 return fs$readFile(path, options, function (err) {
120 enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])
131 function writeFile (path, data, options, cb) {
135 return go$writeFile(path, data, options, cb)
137 function go$writeFile (path, data, options, cb, startTime) {
138 return fs$writeFile(path, data, options, function (err) {
140 enqueue([go$writeFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
152 function appendFile (path, data, options, cb) {
156 return go$appendFile(path, data, options, cb)
158 function go$appendFile (path, data, options, cb, startTime) {
159 return fs$appendFile(path, data, options, function (err) {
161 enqueue([go$appendFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
195 function readdir (path, options, cb) {
200 ? function go$readdir (path, options, cb, startTime) {
201 return fs$readdir(path, fs$readdirCallback(
202 path, options, cb, startTime
205 : function go$readdir (path, options, cb, startTime) {
206 return fs$readdir(path, options, fs$readdirCallback(
207 path, options, cb, startTime
211 return go$readdir(path, options, cb)
213 function fs$readdirCallback (path, options, cb, startTime) {
218 [path, options, cb],
297 function ReadStream (path, options) {
306 open(that.path, that.flags, that.mode, function (err, fd) {
320 function WriteStream (path, options) {
329 open(that.path, that.flags, that.mode, function (err, fd) {
340 function createReadStream (path, options) {
341 return new fs.ReadStream(path, options)
344 function createWriteStream (path, options) {
345 return new fs.WriteStream(path, options)
350 function open (path, flags, mode, cb) {
354 return go$open(path, flags, mode, cb)
356 function go$open (path, flags, mode, cb, startTime) {
357 return fs$open(path, flags, mode, function (err, fd) {
359 enqueue([go$open, [path, flags, mode, cb], err, startTime || Date.now(), Date.now()])