external interface EntrySync
abstract var filesystem: FileSystemSync |
|
abstract var fullPath: String |
|
abstract var isDirectory: Boolean |
|
abstract var isFile: Boolean |
|
abstract var name: String |
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. |
external interface DirectoryEntrySync : EntrySync |
|
external interface FileEntrySync : EntrySync |