Versions in this module Expand all Collapse all v1 v1.6.0 Apr 5, 2025 v1.4.0 Oct 6, 2024 Changes in this version + var ErrLineRange = errors.New("naza.filebatch: line range error") + func AddHeadContent(content []byte, head []byte) []byte + func AddTailContent(content []byte, tail []byte) []byte + func DeleteLines(content []byte, lr LineRange) ([]byte, error) + func Walk(root string, recursive bool, suffix string, walkFn WalkFunc) error + type LineRange struct + From int + To int + type WalkFunc func(path string, info os.FileInfo, content []byte, err error) []byte