File
data class File(val name: String, val extension: String?, val path: String, val hidden: Boolean, val size: List<FileSize>, val contentType: FileMetadata.FileContentType, val content: FileSystemEntry.File.Content = Content.None) : FileSystemEntry(source)
Represents a file in the filesystem.
Constructors
Link copied to clipboard
constructor(name: String, extension: String?, path: String, hidden: Boolean, size: List<FileSize>, contentType: FileMetadata.FileContentType, content: FileSystemEntry.File.Content = Content.None)
Properties
Link copied to clipboard
file content, defaults to Content.None
Link copied to clipboard
file content type from FileMetadata.FileContentType