wisski-cloud-distillery/internal/wisski/ingredient/info/snapshots.go
2022-11-16 13:07:14 +01:00

18 lines
338 B
Go

package info
import "github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient"
type SnapshotsFetcher struct {
ingredient.Base
Info *Info
}
func (lbr *SnapshotsFetcher) Fetch(flags ingredient.FetchFlags, info *ingredient.Information) (err error) {
if flags.Quick {
return
}
info.Snapshots, _ = lbr.Snapshots()
return
}