MCPcopy Create free account
hub / github.com/codehamr/codehamr / Bootstrap

Function Bootstrap

internal/config/config.go:118–207  ·  view source on GitHub ↗

Bootstrap returns the config for the current project, creating .codehamr/ and config.yaml on first use. config.yaml is never overwritten; the prompt is embedded, never written to disk. The directory check uses Lstat (not Stat) and refuses a pre-existing .codehamr that isn't a real directory: a syml

(projectRoot string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

ModelNamesMethod · 0.95
DefaultFunction · 0.85
writeYAMLFunction · 0.85
IsCloudProfileFunction · 0.85