tools

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneTheme

func CloneTheme(repo, path, revision string, markers ...string) (bool, error)

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 DirExist

func DirExist(path string) (bool, error)

func EscapeTOMLString

func EscapeTOMLString(s string) string

EscapeTOMLString escapes a string to be safely embedded in a TOML file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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