Yeuoly 10 月之前
父节点
当前提交
efa55c63a9
共有 1 个文件被更改,包括 0 次插入14 次删除
  1. 0 14
      internal/core/plugin_manager/watcher.go

+ 0 - 14
internal/core/plugin_manager/watcher.go

@@ -206,17 +206,3 @@ func (p *PluginManager) loadPlugin(plugin_path string) (*pluginRuntimeWithDecode
 		Decoder: decoder,
 	}, nil
 }
-
-func parsePluginConfig(configuration_path string) (*plugin_entities.PluginDeclaration, error) {
-	text, err := os.ReadFile(configuration_path)
-	if err != nil {
-		return nil, err
-	}
-
-	result, err := plugin_entities.UnmarshalPluginDeclarationFromYaml(text)
-	if err != nil {
-		return nil, err
-	}
-
-	return result, nil
-}