Synchronously gets info about a directory.
The returned object has the following properties:
exists- A boolean value stating whether the directory exists
Datestating when directory was last changed
Datestating when directory was accessed
var FileSystem = require("FuseJS/FileSystem"); FileSystem.createDirectorySync("some-dir"); var dirInfo = FileSystem.getDirectoryInfoSync("some-dir"); console.log("file was modified on " + dirInfo.lastWriteTime);
- Fuse.FileSystem 1.9.0
An object containing info about the directory.