workpath

package
v2.25.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package workpath resolves the file paths an action reads or writes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

func Resolve(workDir, path string) string

Resolve returns path as the action should open it. A relative path names a file under workDir, the step's working directory. An absolute path, a rooted or drive-relative Windows path, an empty path, or any path when workDir is empty is returned unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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