From a92f96e721c929fa91ce68a5942e1e973552731c Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 25 Sep 2024 15:19:44 +0800 Subject: [PATCH] fix: mockfs.go AbsPath() --- mockfs/mockfs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mockfs/mockfs.go b/mockfs/mockfs.go index a109f80c..fa43b123 100644 --- a/mockfs/mockfs.go +++ b/mockfs/mockfs.go @@ -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 {