Documentation
¶
Overview ¶
Package postprocessing provides tools for the YAML-based postprocessing workflow.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶
CopyFile copies a single file from the src path to the dst path. It acts as a wrapper around filesystem.CopyFile to provide a unified interface for all postprocessing file operations.
func RemoveFile ¶
RemoveFile removes the file at the specified path.
func Replace ¶
Replace finds and replaces exact text in a file. It returns an error if the target file does not exist or if the text is not found.
func ReplaceRegex ¶
ReplaceRegex finds and replaces text in a file using a regular expression. It returns an error if the target file does not exist or if the pattern matches no text.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.