fix: mockfs.go AbsPath()
Some checks failed
Release / Lint and test (push) Failing after 16m50s
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Release / Notify IRC (push) Has been skipped
Nightly Release / Check latest commit (push) Has been cancelled
Nightly Release / Lint and test (push) Has been cancelled
Nightly Release / Build and release Docker image (push) Has been cancelled

This commit is contained in:
2024-09-25 15:19:44 +08:00
parent a9b565f948
commit 612d43be11

View File

@@ -371,6 +371,8 @@ func (i *TagInfo) ReplayGainAlbumPeak() float32 { return 0 }
func (i *TagInfo) Length() int { return firstInt(100, i.RawLength) }
func (i *TagInfo) Bitrate() int { return firstInt(100, i.RawBitrate) }
func (i *TagInfo) AbsPath() string { return "" }
var _ tagcommon.Reader = (*tagReader)(nil)
func firstInt(or int, ints ...int) int {