meta

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Copyright 2022 Tristan Isham. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.

Index

Constants

View Source
const (
	VERSION = "v0.6.0"
)

Variables

View Source
var (
	ErrWinEscToAdmin    = errors.New("unable to rerun as Windows Administrator")
	ErrEscalatedSymlink = errors.New("unable to symlink as Administrator")
)
View Source
var (
	VerCopy = fmt.Sprintf("zvm %s %s/%s", VERSION, runtime.GOOS, runtime.GOARCH)
)

Functions

func CtaFatal added in v0.6.0

func CtaFatal(err error)

Prints a nice CTA and exits with an error

func Symlink(oldname, newname string) error

Symlink is a wrapper around Go's os.Symlink, but with automatic privilege escalation on windows for systems that do not support non-admin symlinks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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