toStringDefault

open override fun toStringDefault(): String(source)

Converts the result to a structured text representation.

Renders the file information in the following format:

  • File path with metadata in parentheses (size, line count if available, "hidden" if the file is hidden)

  • Content section with either:

Return

formatted text representation of the file