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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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