FileType

Type of a file

enum FileType : Enum<FileType>

Entries

Regular
Link copied to clipboard
common

A regular file like text or pdf file.

Directory
Link copied to clipboard
common

A directory.

Unknown
Link copied to clipboard
common

Platforms may support some special files. All those are marked as Unknown.

Functions

compareTo
Link copied to clipboard
common
operator override fun compareTo(other: FileType): Int
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

name
Link copied to clipboard
common
override val name: String
ordinal
Link copied to clipboard
common
override val ordinal: Int