MCPcopy Create free account
hub / github.com/apache/dubbo-go / getActiveFilePath

Method getActiveFilePath

loader.go:349–352  ·  view source on GitHub ↗
(active string)

Source from the content-addressed store, hash-verified

347}
348
349func (conf *loaderConf) getActiveFilePath(active string) string {
350 suffix := constant.DotSeparator + conf.suffix
351 return strings.ReplaceAll(conf.path, suffix, "") + "-" + active + suffix
352}
353
354func pathExists(path string) bool {
355 if _, err := os.Stat(path); err == nil {

Callers 1

MergeConfigMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected