filepathmust

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package filepathmust is a must-style wrapper over the standard library filepath package. All functions panic in response to any errors encountered.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(path string) string
func EvalSymlinks(path string) string

func Glob

func Glob(pattern string) []string

func Match

func Match(pattern, name string) bool

func Rel

func Rel(basepath, targpath string) string

func Walk

func Walk(root string, fn filepath.WalkFunc)

func WalkDir

func WalkDir(root string, fn fs.WalkDirFunc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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