enginecache

package
v0.46.3-0...-89863f0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseEngineCachePath

func BaseEngineCachePath(cachePath string) string

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