mirror of
https://github.com/Jguer/yay.git
synced 2025-10-16 00:05:01 -04:00
14 lines
217 B
Go
14 lines
217 B
Go
// +build six
|
|
|
|
package ialpm
|
|
|
|
import (
|
|
alpm "github.com/Jguer/go-alpm/v2"
|
|
)
|
|
|
|
func alpmTestGetArch(h *alpm.Handle) ([]string, error) {
|
|
architectures, err := h.GetArchitectures()
|
|
|
|
return architectures.Slice(), err
|
|
}
|