path

package
v12.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Path

type Path interface {
	Join(elem ...string) string
	IsAbs(path string) bool
	IsRoot(path string) bool
	Contains(basePath, targetPath string) bool
}

Path is used for manipulation/checks of a path depending on the OS. Each supported OS needs to have its own implementation.

func NewUnixPath

func NewUnixPath() Path

Jump to

Keyboard shortcuts

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