diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-08-04 20:06:07 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-08-04 20:06:07 -0400 |
| commit | 742938b00222c7ad57ad11eb24850d9202c2503d (patch) | |
| tree | e0d1d033027d5dd553c213ed41bb8ae201d6a285 /cmd/web/app.go | |
| parent | a5a49ff08056a67cc57435f219aa157342a0d9a0 (diff) | |
| download | steam-export-742938b00222c7ad57ad11eb24850d9202c2503d.tar.gz steam-export-742938b00222c7ad57ad11eb24850d9202c2503d.tar.xz | |
Pretty large structural changes. Non-building development snapshot
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) |
