pathconverters

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangePaths

func ChangePaths(obj interface{}, mapping map[string]string) error

ChangePaths changes paths which are based out of one root to another root

func MakePlanPathsAbsolute

func MakePlanPathsAbsolute(obj interface{}, sourcePath, assetsPath string) (err error)

MakePlanPathsAbsolute converts all paths in a plan to absolute path from relative path

func ProcessPaths

func ProcessPaths(obj interface{}, processfunc func(string) (string, error)) (err error)

ProcessPaths calls the process function for each path in an object

Types

This section is empty.

Jump to

Keyboard shortcuts

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