helpers

package
v0.0.0-...-4be293a Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AtServiceRoot

func AtServiceRoot(paths ...string) string

func BuiltOnFoundation

func BuiltOnFoundation() bool

func FindFoundationToml

func FindFoundationToml(path string) (string, error)

FindFoundationToml finds the closest foundation.toml file by traversing up the directory tree. It returns the absolute path to the foundation.toml file, or an error if it can't be found.

func GetApplicationRoot

func GetApplicationRoot() string

func InGitRepository

func InGitRepository() bool

func RunCommand

func RunCommand(dir string, name string, args ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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