(path, callback)
| 28 | } |
| 29 | |
| 30 | var read_file = function(path, callback) { |
| 31 | fs.stat(path, function(err, stat) { |
| 32 | if(err) return callback(err, null); |
| 33 | fs.readFile(path, 'ascii', callback); |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | // Retrieve references |
| 38 | Git.prototype.refs = function(options, prefix, callback) { |