Documentation
¶
Overview ¶
Package files contains filesystem helpers that preserve user-authored agent files.
Index ¶
- Constants
- func Block(marker string, content string) string
- func MergeMarkerBlock(existing string, marker string, generated string) string
- func RemoveMarkerBlock(existing string, marker string) string
- func WriteFile(path string, content []byte) error
- func WriteMarkerFile(path string, marker string, generated string) error
Constants ¶
View Source
const DefaultMarker = "goforj-atlas"
DefaultMarker is the marker used for generated Atlas guideline blocks.
Variables ¶
This section is empty.
Functions ¶
func MergeMarkerBlock ¶
MergeMarkerBlock replaces generated marker content while preserving user text.
func RemoveMarkerBlock ¶ added in v0.3.1
RemoveMarkerBlock removes generated marker blocks while preserving surrounding user content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.