MCPcopy Index your code
hub / github.com/apache/answer / FormatAllPath

Function FormatAllPath

internal/base/path/path.go:41–48  ·  view source on GitHub ↗
(dataDirPath string)

Source from the content-addressed store, hash-verified

39)
40
41func FormatAllPath(dataDirPath string) {
42 formatAllPathOnce.Do(func() {
43 ConfigFileDir = filepath.Join(dataDirPath, ConfigFileDir)
44 UploadFilePath = filepath.Join(dataDirPath, UploadFilePath)
45 I18nPath = filepath.Join(dataDirPath, I18nPath)
46 CacheDir = filepath.Join(dataDirPath, CacheDir)
47 })
48}
49
50// GetConfigFilePath get config file path
51func GetConfigFilePath() string {

Callers 3

ResetPasswordFunction · 0.92
command.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected