enginecache

package
v0.42.1-0...-8b9fd0f Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCachePath

func DefaultCachePath() string

DefaultCachePath tries to resolve the user cache directory. DefaultCachePath may return an empty string when none was found, in that case it will print a warning to the user.

func EngineCachePath

func EngineCachePath(targetOS, cachePath string) string

noinspection GoNameStartsWithPackageName

func ValidateOrUpdateEngine

func ValidateOrUpdateEngine(targetOS, cachePath, requiredEngineVersion string)

ValidateOrUpdateEngine validates the engine we have cached matches the flutter version, or otherwise downloads a new engine. The engine cache location is set by the the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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