MCPcopy Index your code
hub / github.com/commitdev/zero / SetRootDir

Function SetRootDir

internal/config/projectconfig/init.go:31–33  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

29var RootDir = "./"
30
31func SetRootDir(dir string) {
32 RootDir = dir
33}
34
35// CreateProjectConfigFile extracts the required content for zero project config file then write to disk.
36func CreateProjectConfigFile(dir string, projectName string, projectContext *ZeroProjectConfig) error {

Callers 1

Calls

no outgoing calls

Tested by 1