expandnormalize

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fix

func Fix(
	location string,
) string

func FixIf

func FixIf(
	isNormalizeLogPathFix,
	isExpandEnvVars bool,
	location string,
) string

Types

type Options

type Options struct {
	normalize.Options
	IsExpandEnvVar bool
}

func (Options) Fix

func (it Options) Fix(location string) string

func (Options) JoinPath added in v0.4.0

func (it Options) JoinPath(path1, path2 string) string

func (Options) JoinPath3 added in v0.4.0

func (it Options) JoinPath3(path1, path2, path3 string) string

func (Options) JoinPaths added in v0.4.0

func (it Options) JoinPaths(locations ...string) string

func (Options) JoinWithBaseDirPaths added in v0.4.0

func (it Options) JoinWithBaseDirPaths(
	baseDir string, locations ...string,
) string

Jump to

Keyboard shortcuts

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