mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 05:43:43 +08:00
Plugins: Simplify plugin file removal (#66115)
* make explicit class check when attempting to remove plugin * simplify plugin file tracking * fix test * apply feedback * fix linter
This commit is contained in:
@ -58,6 +58,10 @@ type FS interface {
|
||||
Files() []string
|
||||
}
|
||||
|
||||
type FSRemover interface {
|
||||
Remove() error
|
||||
}
|
||||
|
||||
type FoundBundle struct {
|
||||
Primary FoundPlugin
|
||||
Children []*FoundPlugin
|
||||
|
Reference in New Issue
Block a user