render

package
v1.7.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Begin = "<!-- git-a2a:begin -->"
View Source
const End = "<!-- git-a2a:end -->"

Variables

This section is empty.

Functions

func Apply

func Apply(path, block string, check bool) (bool, error)

func Build

func Build(root string, own *manifest.Manifest, l *manifest.Lock, brief bool) (string, error)

func Current

func Current(path, block string) bool

func HasManagedBlock

func HasManagedBlock(path string) bool

HasManagedBlock reports whether a file has any git-a2a delimiter. A partial block counts as present so status can report it as stale instead of absent.

func SanitizeMachineText added in v1.3.0

func SanitizeMachineText(s string, description bool) string

SanitizeMachineText applies the dependency-text boundary without Markdown escaping.

Types

This section is empty.

Jump to

Keyboard shortcuts

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