fsutils

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EvalSymlinks(path string) (string, error)

func GetFiles

func GetFiles(rootPath string, skipSymlink bool, filters ...fFn) []string

func Getwd

func Getwd() (string, error)

func IsDir

func IsDir(path string) bool

IsDir checks if the given path is a directory

func IsFile added in v0.0.29

func IsFile(path string) bool

IsFile checks if the given path is a file

func Rel added in v0.1.0

func Rel(basepath, targpath string) string

func ShortestRelPath

func ShortestRelPath(path, wd string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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