getDirectory

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

MDN Reference