Table of Contents

Class TextFileToolsetBase

Namespace
Oscova.Agents.Toolsets
Assembly
Oscova.Agents.dll

Shares bounded text-file operations across concrete storage-backed toolsets.

public abstract class TextFileToolsetBase

Inheritance

Derived

Inherited Members

Methods

ApplyPatchCore(string, string)

Applies the supported structured patch through the concrete storage implementation.

DeleteText(string)

Deletes one file when it exists.

EditFileCore(string, string, string, bool)

Replaces exact text through the concrete storage implementation.

MoveText(string, string, string, bool)

Publishes patched content, optionally moving the logical file.

OpenText(string, out long)

Opens one text file and reports its plaintext byte size.

ReadFileCore(string, int, int)

Reads a bounded page from a storage-backed text file.

ResolvePatchPath(string, string)

Resolves a path embedded in a patch against its base directory.

ResolveWorkspacePatchPath(string, string, Func<IReadOnlyList<AllowedDirectory>>)

Resolves a patch path through the standard workspace containment contract.

WriteFileCore(string, string?, bool)

Writes or appends text through the concrete storage implementation.

WriteText(string, string, bool)

Writes or appends text to one file.