Compare commits
No commits in common. "master" and "master" have entirely different histories.
@ -56,7 +56,7 @@ nfpms:
|
||||
{{- end }}
|
||||
description: "Companion daemon for the InfiniTime firmware on the PineTime smartwatch"
|
||||
homepage: 'https://gitea.elara.ws/Elara6331/itd'
|
||||
maintainer: 'Elara Ivy <elara@elara.ws>'
|
||||
maintainer: 'Elara Musayelyan <elara@elara.ws>'
|
||||
license: GPLv3
|
||||
formats:
|
||||
- apk
|
||||
@ -79,7 +79,7 @@ aurs:
|
||||
homepage: 'https://gitea.elara.ws/Elara6331/itd'
|
||||
description: "Companion daemon for the InfiniTime firmware on the PineTime smartwatch"
|
||||
maintainers:
|
||||
- 'Elara Ivy <elara@elara.ws>'
|
||||
- 'Elara Musayelyan <elara@elara.ws>'
|
||||
license: GPLv3
|
||||
private_key: '{{ .Env.AUR_KEY }}'
|
||||
git_url: 'ssh://aur@aur.archlinux.org/itd-bin.git'
|
||||
|
@ -42,10 +42,7 @@ func (c *FSClient) Mkdir(ctx context.Context, paths ...string) error {
|
||||
|
||||
func (c *FSClient) ReadDir(ctx context.Context, dir string) ([]FileInfo, error) {
|
||||
res, err := c.client.ReadDir(ctx, &rpc.PathRequest{Path: dir})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return convertEntries(res.Entries), nil
|
||||
return convertEntries(res.Entries), err
|
||||
}
|
||||
|
||||
func convertEntries(e []*rpc.FileInfo) []FileInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user