path

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: MIT Imports: 1 Imported by: 2

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