path

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: Unlicense Imports: 4 Imported by: 0

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

func From(s string) (p Path)

func (Path) Child

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

func (Path) Common

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

func (Path) Equal

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

func (p Path) TrimPrefix() Path

Jump to

Keyboard shortcuts

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