comment some scanner vars
This commit is contained in:
@@ -72,10 +72,10 @@ type Scanner struct {
|
|||||||
curFolders *stack.Stack
|
curFolders *stack.Stack
|
||||||
curCover string
|
curCover string
|
||||||
// then the rest are for stats and cleanup at the very end
|
// then the rest are for stats and cleanup at the very end
|
||||||
seenTracks map[int]struct{}
|
seenTracks map[int]struct{} // set of p keys
|
||||||
seenFolders map[int]struct{}
|
seenFolders map[int]struct{} // set of p keys
|
||||||
seenTracksNew int
|
seenTracksNew int // n tracks not seen before
|
||||||
seenTracksErr int
|
seenTracksErr int // n tracks we we couldn't scan
|
||||||
}
|
}
|
||||||
|
|
||||||
func New(db *gorm.DB, musicPath string) *Scanner {
|
func New(db *gorm.DB, musicPath string) *Scanner {
|
||||||
|
|||||||
Reference in New Issue
Block a user