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 2.9.1

Returns

Array

Array of directory paths