Result

Contains the successfully read file with its metadata and extracted content.

The result encapsulates a FileSystemEntry.File which includes:

  • File metadata (path, name, extension, size, content type, hidden status)

  • Content as either full text or line-range excerpt

Constructors

Link copied to clipboard
constructor(file: FileSystemEntry.File)

Properties

Link copied to clipboard

the file entry containing metadata and content

Functions

Link copied to clipboard

Retrieves the serializer instance for the implementing class.

Link copied to clipboard
open override fun toStringDefault(): String

Converts the result to a structured text representation.