path

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func New

func New(path string) *Path

func (*Path) Eq

func (p *Path) Eq(other *Path) bool

func (*Path) Executables

func (p *Path) Executables() []*Path

func (*Path) Exists

func (p *Path) Exists() bool

func (*Path) IsDir

func (p *Path) IsDir() bool

func (*Path) IsExecutable

func (p *Path) IsExecutable() bool
func (p *Path) IsSymLink() bool

func (*Path) Size

func (p *Path) Size() int64

func (*Path) SizeHuman

func (p *Path) SizeHuman() string

func (*Path) String

func (p *Path) String() string

Jump to

Keyboard shortcuts

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