mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
739c7f1c68
* make explicit class check when attempting to remove plugin * simplify plugin file tracking * fix test * apply feedback * fix linter
11 lines
187 B
Go
11 lines
187 B
Go
package storage
|
|
|
|
import (
|
|
"archive/zip"
|
|
"context"
|
|
)
|
|
|
|
type ZipExtractor interface {
|
|
Extract(ctx context.Context, pluginID string, rc *zip.ReadCloser) (*ExtractedPluginArchive, error)
|
|
}
|