util

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindReverse

func FindReverse(path string, name string) (target string, err error)

FindReverse traverses the filetree upwards to find given file/directory.

func HasPathPrefix

func HasPathPrefix(s string) bool

HasPathPrefix checks if given string has a path prefix.

func HasVolumePrefix

func HasVolumePrefix(s string) bool

HasVolumePrefix checks if given path has a volume prefix (only for GOOS=windows).

Types

This section is empty.

Jump to

Keyboard shortcuts

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