MCPcopy Create free account
hub / github.com/ethstorage/es-node / ResolveAncient

Method ResolveAncient

ethstorage/node/config.go:126–134  ·  view source on GitHub ↗
(name string, ancient string)

Source from the content-addressed store, hash-verified

124}
125
126func (c *Config) ResolveAncient(name string, ancient string) string {
127 switch {
128 case ancient == "":
129 ancient = filepath.Join(c.ResolvePath(name), "ancient")
130 case !filepath.IsAbs(ancient):
131 ancient = c.ResolvePath(ancient)
132 }
133 return ancient
134}

Callers

nothing calls this directly

Calls 1

ResolvePathMethod · 0.95

Tested by

no test coverage detected