transformation

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveDirectoryOrCreate

func ResolveDirectoryOrCreate(input string) (string, error)

ResolveDirectoryOrCreate resolves a path and ensures the directory exists. If the path is a file, it only creates the parent directories.

func ResolveFilePathOrCreate

func ResolveFilePathOrCreate(input string) (string, error)

ResolveFilePathOrCreate resolves a path, ensuring the file and its parent directories exist.

func ResolvePath

func ResolvePath(input string) (string, error)

ResolvePath resolves an input path to an absolute path. If the path exists, it returns the absolute path; otherwise, returns an error.

func ResolveWorkflowPath

func ResolveWorkflowPath(workflowPath string) (string, error)

ResolveWorkflowPath resolves a workflow directory path that can be: - Absolute path - Relative path (resolved relative to current working directory, which should be the project root) Returns an error if the path doesn't exist or isn't a directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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