MCPcopy
hub / github.com/ChineseSubFinder/ChineseSubFinder / SetConfigRootPath

Function SetConfigRootPath

pkg/settings/settings.go:89–91  ·  view source on GitHub ↗

SetConfigRootPath 需要先设置这个信息再调用 Get

(configRootPath string)

Source from the content-addressed store, hash-verified

87
88// SetConfigRootPath 需要先设置这个信息再调用 Get
89func SetConfigRootPath(configRootPath string) {
90 _configRootPath = configRootPath
91}
92
93func NewSettings(configRootDirFPath string) *Settings {
94

Callers 8

defInstanceFunction · 0.92
defInstanceFunction · 0.92
TestGetListFunction · 0.92
defInstanceFunction · 0.92
defInstanceFunction · 0.92
initFunction · 0.92

Calls

no outgoing calls

Tested by 7

defInstanceFunction · 0.74
defInstanceFunction · 0.74
TestGetListFunction · 0.74
defInstanceFunction · 0.74
defInstanceFunction · 0.74