paths

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Separator = '\\' // OS-specific path separator
)

Variables

This section is empty.

Functions

func ExpandUser

func ExpandUser(p string) string

func IsPathSeparator added in v2.6.2

func IsPathSeparator(c uint8) bool

func IsWindowsAbs added in v2.6.2

func IsWindowsAbs(path string) (b bool)

IsWindowsAbs reports whether the path is absolute. copied from IsAbs(path string) (b bool) from internal.filetpathlite

func ResolveRelativePaths

func ResolveRelativePaths(project map[string]any, base string, remotes []RemoteResource) error

ResolveRelativePaths make relative paths absolute

Types

type RemoteResource

type RemoteResource func(path string) bool

Jump to

Keyboard shortcuts

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