system

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDirectory

func CopyDirectory(src, dst string) error

func CopyFile

func CopyFile(src, dst string) error

func CopyPath added in v0.4.1

func CopyPath(src, dst string) error

CopyPath copies a file or directory from src to dst

func DiffFiles

func DiffFiles(origin, dest string) (bool, error)

DiffFiles compares files or directories at origin and dest paths. It returns true if changes were made, and false otherwise.

func GetConfigPaths added in v0.4.1

func GetConfigPaths() (string, string, error)

func GetHostname added in v0.4.1

func GetHostname() (string, error)

GetHostname returns the hostname of the system

func GetTimestamp added in v0.4.1

func GetTimestamp() string

GetTimestamp returns the current timestamp

func PromptForGitVersioning added in v0.4.1

func PromptForGitVersioning() (bool, error)

PromptForGitVersioning asks the user if they want to enable Git versioning

func RemoveDirectory

func RemoveDirectory(path 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