KetraTerm
API · v0.3.0All versions

TerminalFuzzyPathEntry

data class TerminalFuzzyPathEntry(val path: String, val isDirectory: Boolean, val detail: String? = null)

One host-indexed path available to fuzzy path completion.

path is a shell-facing lexical path relative to the request's current directory, or an absolute path when a host cannot safely relativize it. It always uses forward slashes; the shared source adapts the replacement to the active shell token's separator and quoting style.

Throws

if path is blank or separator-terminated, or detail contains a line break.

Constructors

Link copied to clipboard
constructor(path: String, isDirectory: Boolean, detail: String? = null)

Properties

Link copied to clipboard

optional host-owned concise description shown beside the path.

Link copied to clipboard

whether this entry represents a directory.

Link copied to clipboard

non-empty lexical path without a trailing separator.