replace

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package replace substitutes each match according to the configured replacement directives which could be plain strings, builtin variables, or regex capture variables

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Replace

func Replace(
	conf *config.Config,
	matches file.Changes,
) (file.Changes, error)

Replace applies the file name replacements according to the --replace argument.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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