Documentation
¶
Overview ¶
Package project defines project-level types and naming.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRoot ¶ added in v0.147.0
FindRoot walks up the directory tree from the current working directory, looking for a .dark-factory.yaml file. It stops at $HOME and never ascends above it. Returns the directory that contains .dark-factory.yaml.
If no .dark-factory.yaml is found in any ancestor up to $HOME, it returns:
"not a dark-factory project: no .dark-factory.yaml in <cwd> or any parent directory"
Types ¶
type Name ¶
type Name string
Name is a typed alias for the resolved project name. Construct via Resolve.
Click to show internal directories.
Click to hide internal directories.