mirror of
https://github.com/Jguer/yay.git
synced 2024-11-07 09:37:22 +01:00
26 lines
386 B
Go
26 lines
386 B
Go
|
package vcs
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"sync"
|
||
|
|
||
|
gosrc "github.com/Morganamilo/go-srcinfo"
|
||
|
)
|
||
|
|
||
|
type Mock struct{}
|
||
|
|
||
|
func (m *Mock) Update(ctx context.Context, pkgName string, sources []gosrc.ArchString, mux sync.Locker, wg *sync.WaitGroup) {
|
||
|
wg.Done()
|
||
|
}
|
||
|
|
||
|
func (m *Mock) Save() error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Mock) RemovePackage(pkgs []string) {
|
||
|
}
|
||
|
|
||
|
func (m *Mock) Load() error {
|
||
|
return nil
|
||
|
}
|