Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ptabor committed Dec 11, 2023
1 parent 0c19238 commit b2a7863
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/apk/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ type Package struct {
Replaces []string `ini:"replaces,,allowshadow"`
}

func (p *Package) String() string { return fmt.Sprintf("%s ver:%s arch:%s", p.Name, p.Version, p.Arch) }
func (p *Package) String() string {
return fmt.Sprintf("%s (ver:%s arch:%s)", p.Name, p.Version, p.Arch)
}
func (p *Package) PackageName() string { return p.Name }

// Filename returns the package filename as it's named in a repository.
Expand Down

0 comments on commit b2a7863

Please sign in to comment.