Synchronously list subdirectories in a directory.

Example

var FileSystem = require("FuseJS/FileSystem");

var directories = FileSystem.listDirectoriesSync(FileSystem.dataDirectory);
console.log("There are " + directories.length + " subdirectories in directory");

Location

Namespace
Fuse.FileSystem
Package
Fuse.FileSystem 1.9.0

Returns

Array

Array of directory paths