path

package
v0.0.0-...-63c5a8c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAbs

func IsAbs(p string) bool

IsAbs returns true if the path provided is absolute, false otherwise.

func IsRel

func IsRel(p string) bool

IsRel returns true is the path starts with either ".*" or "..*" where "*" is the OS-specific path delimiter, false otherwise.

func TrimModPrefix

func TrimModPrefix(p string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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