expandnormalize

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 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 {
	IsNormalize,
	IsExpandEnvVar bool
}

func (Options) Fix

func (it Options) Fix(location string) string

func (Options) FixPaths

func (it Options) FixPaths(locations ...string) *corestr.SimpleSlice

func (Options) Join

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

Jump to

Keyboard shortcuts

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