The list function is established to get an array of files or sub folders information.
var infos = file.list("myFolder");
Calling | Returning |
---|---|
file . list ( path ) | Array of FileInfo |
file . list ( path , withoutFolderLength ) | Array of FileInfo |
Parameters | Type | Description |
---|---|---|
path | String | The relative folder path to the storage. |
withoutFolderLength | Boolean | A flag to get sub folders size or not. The default value is false. |