MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / FindLuminaRoot

Function FindLuminaRoot

config/config.go:484–497  ·  view source on GitHub ↗
(start string)

Source from the content-addressed store, hash-verified

482 }
483 cleaned := strings.Trim(b.String(), ".-_")
484 if cleaned == "" {
485 return "default"
486 }
487 return cleaned
488}
489
490func ProjectRuntimeDir(projectRoot string) string {
491 paths, err := apppaths.ResolveCurrent()
492 if err != nil {
493 return ""
494 }
495 discovered, discoverErr := apppaths.DiscoverProjectRoot(projectRoot, []string{".git"})
496 if discoverErr != nil {
497 return ""
498 }
499 project, err := paths.ForProject(discovered)
500 if err != nil {

Callers 3

resolveTemplatePathFunction · 0.92
NewConfigForCWDFunction · 0.85

Calls 3

normalizeLuminaRootFunction · 0.85
luminaRootCandidatesFunction · 0.85
findLuminaRootFromFunction · 0.85

Tested by

no test coverage detected