getDirectory

fun getDirectory(    path: String? = definedExternally,     options: FileSystemFlags = definedExternally,     successCallback: FileSystemEntryCallback = definedExternally,     errorCallback: ErrorCallback = definedExternally)(source)

The FileSystemDirectoryEntry interface's method getDirectory() returns a somewhere within the directory subtree rooted at the directory on which it's called.

MDN Reference