external interface DirectoryEntrySync : EntrySync
abstract var filesystem: FileSystemSync |
|
abstract var fullPath: String |
|
abstract var isDirectory: Boolean |
|
abstract var isFile: Boolean |
|
abstract var name: String |
abstract fun createReader(): DirectoryReaderSync |
|
abstract fun getDirectory(path: String, options: Flags? = definedExternally): DirectoryEntrySync |
|
abstract fun getFile(path: String, options: Flags? = definedExternally): FileEntrySync |
|
abstract fun removeRecursively(): Unit |
abstract fun copyTo(parent: DirectoryEntrySync, newName: String? = definedExternally): EntrySync |
|
abstract fun getMetadata(): Metadata |
|
abstract fun getParent(): DirectoryEntrySync |
|
abstract fun moveTo(parent: DirectoryEntrySync, newName: String? = definedExternally): EntrySync |
|
abstract fun remove(): Unit |
|
abstract fun toURL(): String |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |