var webfs = require('web-fs');

// instantiate an instance, because web-fs doesn't, but fs does
var fs = webfs();

fs.statSync = function(file) {
  return {
    isFile: function() { return false; },
    isFIFO: function() { return false; },
  };
};

module.exports = fs;

var webfs = require('web-fs');

// instantiate an instance, because web-fs doesn't, but fs does
var fs = webfs();

fs.statSync = function(file) {
  return {
    isFile: function() { return true; },
    isFIFO: function() { return false; },
  };
};

module.exports = fs;

Return isFile true, used by rfile
Return isFile true, used by rfile
