getDirectoryContents

suspend fun getDirectoryContents(path: String, includeFiles: Boolean? = false, includeDirectories: Boolean? = false): Response<List<ERROR CLASS: Symbol not found for FileSystemEntryInfo>>

Gets the contents of a given directory in the file system.

Parameters

path

The path.

includeFiles

An optional filter to include or exclude files from the results. true/false.

includeDirectories

An optional filter to include or exclude folders from the results. true/false.