enginecache

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCachePath added in v0.40.0

func DefaultCachePath() string

func EngineCachePath added in v0.40.0

func EngineCachePath(targetOS, cachePath string) string

noinspection GoNameStartsWithPackageName

func ValidateOrUpdateEngine

func ValidateOrUpdateEngine(targetOS string, requiredEngineVersion string) (engineCachePath string)

ValidateOrUpdateEngine validates the engine we have cached matches the flutter version, or otherwise downloads a new engine. The returned path is that of the engine location.

func ValidateOrUpdateEngineAtPath added in v0.20.0

func ValidateOrUpdateEngineAtPath(targetOS, cachePath, requiredEngineVersion string) (engineCachePath string)

ValidateOrUpdateEngineAtPath 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