mirror of
https://github.com/Jguer/yay.git
synced 2025-10-15 00:02:26 -04:00
14 lines
190 B
Go
14 lines
190 B
Go
// +build !six
|
|
|
|
package ialpm
|
|
|
|
import (
|
|
alpm "github.com/Jguer/go-alpm/v2"
|
|
)
|
|
|
|
func alpmTestGetArch(h *alpm.Handle) ([]string, error) {
|
|
arch, err := h.Arch()
|
|
|
|
return []string{arch}, err
|
|
}
|