filepath

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalizePath added in v0.0.75

func CanonicalizePath(path string) (string, error)

CanonicalizePath turns path into an absolute path without symlinks.

func GetParentRelDir added in v0.0.53

func GetParentRelDir(filePath string) string

func GetParentRelPath added in v0.0.53

func GetParentRelPath(filePath string) string

func Glob

func Glob(pattern string) (matches []string, err error)

func JoinPaths added in v0.0.74

func JoinPaths(rootPath, relativePath string) (string, error)

join paths, keep relativePath suffix

func LastChar added in v0.0.74

func LastChar(str string) uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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