Skip to content

Commit

Permalink
fix: mockfs.go AbsPath()
Browse files Browse the repository at this point in the history
  • Loading branch information
heimoshuiyu committed Sep 25, 2024
1 parent c931ccf commit a92f96e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mockfs/mockfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a92f96e

Please sign in to comment.