MCPcopy Index your code
hub / github.com/perkeep/perkeep / ExportNewConfigFromObj

Function ExportNewConfigFromObj

pkg/serverinit/export_test.go:29–31  ·  view source on GitHub ↗
(obj jsonconfig.Obj)

Source from the content-addressed store, hash-verified

27func (c *Config) Export_Obj() jsonconfig.Obj { return c.jconf }
28
29func ExportNewConfigFromObj(obj jsonconfig.Obj) *Config {
30 return &Config{jconf: obj}
31}
32
33func SetTempDirFunc(f func() string) {
34 tempDir = f

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected