Documentation
¶
Index ¶
Constants ¶
View Source
const ThemeCacheTTL = 7 * 24 * time.Hour
Variables ¶
This section is empty.
Functions ¶
func CloneTheme ¶
CloneTheme clones repo into path at revision and reports whether a clone was performed. Existing directories are reused immediately when no markers are supplied. When markers such as package.json are supplied, every marker must exist; otherwise only an empty directory is safe to clone into. Revision may be empty to use the repository's default branch.
func CloneThemeCached ¶ added in v0.4.0
func EscapeTOMLString ¶
EscapeTOMLString escapes a string to be safely embedded in a TOML file.
func PruneThemeCache ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.