Directory

data class Directory(val name: String, val entries: List<FileTreeEntry>, val highlighted: Boolean = false) : FileTreeEntry

A branch entry representing a directory, which contains nested entries.

Parameters

name

directory name

entries

children of this directory (files and subdirectories)

highlighted

whether this directory should be visually highlighted

Constructors

Link copied to clipboard
constructor(name: String, entries: List<FileTreeEntry>, highlighted: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
open override val highlighted: Boolean = false
Link copied to clipboard