cache

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MassdriverApplicationTemplatesRepository = "https://github.com/massdriver-cloud/application-templates"

TODO: pull from massrc

Variables

This section is empty.

Functions

func AppTemplateCacheDir

func AppTemplateCacheDir() string

AppTemplateCacheDir is a reader function to access the local cache of templates. When developing templates, the cache source can be overwritten for reads by setting `MD_DEV_TEMPLATES_PATH`

func ApplicationTemplates

func ApplicationTemplates() ([]string, error)

func Dir

func Dir() string

func RefreshAppTemplates

func RefreshAppTemplates() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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