path

package
v0.0.0-...-cd5c7ba Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadPattern = path.ErrBadPattern
)

Functions

This section is empty.

Types

type Path

type Path string

func New

func New(path string) Path

func (Path) Base

func (p Path) Base() string

func (Path) Clean

func (p Path) Clean() Path

func (Path) Dir

func (p Path) Dir() Path

func (Path) Ext

func (p Path) Ext() string

func (Path) IsAbs

func (p Path) IsAbs() bool

func (Path) Join

func (p Path) Join(elem ...string) Path

func (Path) Match

func (p Path) Match(pattern string) (matched bool, err error)

func (Path) Split

func (p Path) Split() (dir Path, file string)

func (Path) String

func (p Path) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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