enginecache

package
v0.0.0-...-164d800 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 16 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, mode build.Mode) string

noinspection GoNameStartsWithPackageName

func EngineConfig

func EngineConfig(targetOS string, mode build.Mode) string

func ValidateOrUpdateEngine

func ValidateOrUpdateEngine(targetOS, cachePath, requiredEngineVersion string, mode build.Mode)

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