enginecache

package
v0.47.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseEngineCachePath added in v0.45.0

func BaseEngineCachePath(cachePath string) string

func DefaultCachePath added in v0.40.0

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 added in v0.40.0

func EngineCachePath(targetOS, cachePath string, mode build.Mode) string

noinspection GoNameStartsWithPackageName

func EngineConfig added in v0.44.0

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