vcruntime

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: GPL-3.0, LGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventEnsureStart    = "vcruntime.ensure.start"
	EventEnsureProgress = "vcruntime.ensure.progress"
	EventEnsureDone     = "vcruntime.ensure.done"

	EventDownloadStart    = "vcruntime.download.start"
	EventDownloadProgress = "vcruntime.download.progress"
	EventDownloadDone     = "vcruntime.download.done"
	EventDownloadError    = "vcruntime.download.error"
	EventMissing          = "vcruntime.missing"
)

Variables

This section is empty.

Functions

func EnsureEmbedded

func EnsureEmbedded(contentDir string, embedded []byte)

func EnsureForVersion

func EnsureForVersion(ctx context.Context, versionDir string) bool

func EnsureInteractive added in v0.3.0

func EnsureInteractive(ctx context.Context)

func EnsureLatest

func EnsureLatest(ctx context.Context, contentDir string)

func IsInstalled added in v0.3.0

func IsInstalled() bool

Types

type EnsureProgress

type EnsureProgress struct {
	Downloaded int64
	Total      int64
}

Jump to

Keyboard shortcuts

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