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

Method RemoveConfig

config_center/file/impl.go:169–173  ·  view source on GitHub ↗

RemoveConfig will remove tconfig_center/nacos/impl_testhe config whit hte (key, group)

(key string, group string)

Source from the content-addressed store, hash-verified

167
168// RemoveConfig will remove tconfig_center/nacos/impl_testhe config whit hte (key, group)
169func (fsdc *FileSystemDynamicConfiguration) RemoveConfig(key string, group string) error {
170 tmpPath := fsdc.GetPath(key, group)
171 _, err := fsdc.deleteDelay(tmpPath)
172 return err
173}
174
175// Close close file watcher
176func (fsdc *FileSystemDynamicConfiguration) Close() error {

Callers

nothing calls this directly

Calls 2

GetPathMethod · 0.95
deleteDelayMethod · 0.95

Tested by

no test coverage detected