MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithFiles

Function WithFiles

config/storage/options.go:84–94  ·  view source on GitHub ↗

WithFiles loads the given files into the config.Service. If a path contains the variable from constant EnvNamePlaceHolder it gets replaced with the current environment name. WithFiles([]string{"/var","www","site","config","db_{ENV}.yaml"})

(filePathParts ...[]string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

processFileFunction · 0.85
ReplaceEnvNameMethod · 0.80
JoinMethod · 0.45

Tested by

no test coverage detected