path

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Unlicense Imports: 4 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIndent

func GetIndent(d int) string

Types

type Path

type Path []string

func From added in v0.2.0

func From(s string) (p Path)

func (Path) Child

func (p Path) Child(child string) (p1 Path)

func (Path) Common added in v0.1.47

func (p Path) Common(p2 Path) (o Path)

func (Path) Equal added in v0.1.48

func (p Path) Equal(p2 Path) bool

func (Path) Parent

func (p Path) Parent() (p1 Path)

func (Path) String

func (p Path) String() string

func (Path) TrimPrefix added in v0.1.47

func (p Path) TrimPrefix() Path

Jump to

Keyboard shortcuts

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