forked from Jguer/yay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(search): add optional setting that formats each search result on…
… a single line, Part II
- Loading branch information
Showing
14 changed files
with
450 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
package mock | ||
|
||
import ( | ||
"time" | ||
|
||
"github.com/Jguer/yay/v11/pkg/db" | ||
|
||
"github.com/Jguer/go-alpm/v2" | ||
) | ||
|
||
type ( | ||
IPackage = alpm.IPackage | ||
Depend = alpm.Depend | ||
Upgrade = db.Upgrade | ||
) | ||
|
||
type DBExecutor struct{} | ||
|
||
func (t DBExecutor) AlpmArchitectures() ([]string, error) { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) BiggestPackages() []IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) Cleanup() { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) IsCorrectVersionInstalled(s, s2 string) bool { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) LastBuildTime() time.Time { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) LocalPackage(s string) IPackage { | ||
return nil | ||
} | ||
|
||
func (t DBExecutor) LocalPackages() []IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) LocalSatisfierExists(s string) bool { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) PackageConflicts(iPackage IPackage) []Depend { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) PackageDepends(iPackage IPackage) []Depend { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) PackageGroups(iPackage IPackage) []string { | ||
return []string{} | ||
} | ||
|
||
func (t DBExecutor) PackageOptionalDepends(iPackage IPackage) []Depend { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) PackageProvides(iPackage IPackage) []Depend { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) PackagesFromGroup(s string) []IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) RefreshHandle() error { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) RepoUpgrades(b bool) ([]Upgrade, error) { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) Repos() []string { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) SatisfierFromDB(s, s2 string) IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) SyncPackage(s string) IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) SyncPackages(s ...string) []IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) SyncSatisfier(s string) IPackage { | ||
panic("implement me") | ||
} | ||
|
||
func (t DBExecutor) SyncSatisfierExists(s string) bool { | ||
panic("implement me") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.