util

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

FileExists checks if a file exists and is not a directory before we try using it to prevent further errors.

func LetsUserDir

func LetsUserDir() (string, error)

func LetsUserFile

func LetsUserFile(name string) (string, error)

func OpenURL

func OpenURL(url string) error

func ParseVersion

func ParseVersion(version string) (*semver.Version, error)

func SafeCreateDir

func SafeCreateDir(dirPath 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