diff options
Diffstat (limited to 'cmd/web/app.go')
| -rw-r--r-- | cmd/web/app.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cmd/web/app.go b/cmd/web/app.go index bc8385a..9ab1c0e 100644 --- a/cmd/web/app.go +++ b/cmd/web/app.go @@ -8,12 +8,6 @@ import ( "riedstra.dev/mitch/steam-export/steam" ) -// steamLib is a steam libary with an embeded mutex to protect it -type steamLib struct { - steam.Library - sync.Mutex -} - // statusInfo represents the internal status of game installation type statusInfo struct { sync.RWMutex @@ -76,8 +70,8 @@ func (a *App) LibrarySet(path string) { Logger.Println("Done reloading lib") } -// LibraryReload calls LibrarySet but with the current directory, forcing a reload of -// information off of disk. +// LibraryReload calls LibrarySet but with the current directory, forcing a +// reload of information off of disk. func (a *App) LibraryReload() { cur := a.Library.Folder a.LibrarySet(cur) |
