utils

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AppName = "bitnet-runner"
)

Variables

This section is empty.

Functions

func EnsureDir

func EnsureDir(path string) error

EnsureDir creates a directory if it doesn't exist

func GetAppDataDir

func GetAppDataDir() (string, error)

GetAppDataDir returns the main application data directory Windows: C:\Users\Name\.bitnet_runner

func GetHomeDir

func GetHomeDir() (string, error)

GetHomeDir returns the user's home directory

func GetRuntimeDir

func GetRuntimeDir() (string, error)

GetRuntimeDir returns the directory where executable binaries will be extracted

Types

This section is empty.

Jump to

Keyboard shortcuts

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