KetraTerm
API · DevelopmentAll versions

scan

open suspend override fun scan(directory: Path, entryNamePrefix: String): List<TerminalFileEntry>

Returns a bounded deterministic snapshot.

Return

bounded deterministic entries, or an empty list when the directory is absent or the path is not a directory.

Parameters

directory

normalized absolute local directory to inspect.

entryNamePrefix

case-insensitive child-name prefix.