Entry

external interface Entry(source)

Inheritors

Properties

Link copied to clipboard
abstract var filesystem: FileSystem
Link copied to clipboard
abstract var fullPath: String
Link copied to clipboard
abstract var isDirectory: Boolean
Link copied to clipboard
abstract var isFile: Boolean
Link copied to clipboard
abstract var name: String

Functions

Link copied to clipboard
abstract fun copyTo(parent: DirectoryEntry, newName: String? = definedExternally, successCallback: EntryCallback? = definedExternally, errorCallback: ErrorCallback? = definedExternally)
Link copied to clipboard
suspend fun Entry.copyTo(parent: DirectoryEntry, newName: String? = null): Result<Entry>

Copy given file or directory to a new location.

Link copied to clipboard
abstract fun getMetadata(successCallback: MetadataCallback, errorCallback: ErrorCallback? = definedExternally)
Link copied to clipboard

Get file or directory metadata.

Link copied to clipboard
abstract fun getParent(successCallback: DirectoryEntryCallback, errorCallback: ErrorCallback? = definedExternally)
Link copied to clipboard

Get file or directory parent directory entry.

Link copied to clipboard
abstract fun moveTo(parent: DirectoryEntry, newName: String? = definedExternally, successCallback: EntryCallback? = definedExternally, errorCallback: ErrorCallback? = definedExternally)
Link copied to clipboard
suspend fun Entry.moveTo(parent: DirectoryEntry, newName: String? = null): Result<Entry>

Move given file or directory to a new location.

Link copied to clipboard
abstract fun remove(successCallback: VoidCallback, errorCallback: ErrorCallback? = definedExternally)
Link copied to clipboard
suspend fun Entry.remove(): Result<Entry>

Remove given file or directory.

Link copied to clipboard
abstract fun toInternalURL(): String
Link copied to clipboard
abstract fun toURL(): String