utils

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Executable for everyone, writable for owner, everyone else can read
	EXECUTABLE_PERMS = 0755
	// Writable for owner, readable for everyone, executable for no-one
	READWRITE_PERMS = 0644
)

File perms

Variables

View Source
var VERSION = "v0.0.0-unversioned-development"

Functions

func GetConfigDir

func GetConfigDir() string

func GetConfigPath

func GetConfigPath() string

func GetDir

func GetDir() string

$HOME/.sysmig or /etc/.sysmig

func GetMigrationPath

func GetMigrationPath() string

func GetStatePath

func GetStatePath() string

func GetSyncPath

func GetSyncPath() string

func HandleErr

func HandleErr(err error)

If an error is not nil, it writes it to stderr and exits with status code 1

Types

This section is empty.

Jump to

Keyboard shortcuts

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