memfs
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -391,2 +391,6 @@ /// <reference path="typings/tsd.d.ts" /> | ||
Volume.prototype.existsSync = function (filename) { | ||
// This will make `unionfs` to forward ask next file system for `existsSync`. | ||
var fullpath = path.resolve(filename); | ||
if (!this.getLayerContainingPath(fullpath)) | ||
throw ('Path not in mount point.'); | ||
try { | ||
@@ -393,0 +397,0 @@ this.getNode(filename); |
{ | ||
"name": "memfs", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "In-memory file-system with node.js `fs` API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
38374
987