paths

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupPathForParts

func CleanupPathForParts(filename string, ctx speccontext.GitContext) string

func Extract

func Extract(paths string, versionID string) (out map[string]string)

func FilenameToPath

func FilenameToPath(filename string, partsScope speccontext.PartsContext, ctx speccontext.GitContext) string

func ForBranch

func ForBranch(path, s3VersionID, gitBranchName string) (string, string)

ForBranch returns first path that has all values substituted like {branch} from git or argument and when the VerisonID is stripped from the path if present

func PathForPart

func PathForPart(dir string, scope speccontext.PartsContext, ctx speccontext.GitContext) string

func PathToFilename

func PathToFilename(path string) string

func Resolve

func Resolve(path, gitBranch string, gitFlow bool) (paths []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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