fileutil

package
v0.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessFileAttachments

func ProcessFileAttachments(text string, cwd string) string

ProcessFileAttachments scans the user's input text for @file references, reads each referenced file, and returns the text with @tokens replaced by XML-wrapped file content. Non-file @ tokens (like email addresses) are left unchanged.

Returns the original text unchanged if no valid @file references are found.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL