utils

package
v0.54.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneMetadata

func CloneMetadata(src map[string]any) map[string]any

CloneMetadata returns a recursive copy of a metadata map.

It clones nested map[string]any and []any values so callers can safely mutate the returned structure without affecting the source tree.

func ReplaceFile

func ReplaceFile(src, dst string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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