aboutsummaryrefslogtreecommitdiff
path: root/steam/delete.go
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-20 00:35:09 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-20 00:35:09 -0500
commitf07efbb6fc7a63055a8424799ce03a5f37539873 (patch)
treeff5983b2cae4cc9b8f2f346a47cb3eb23b2f79ae /steam/delete.go
parentcbfd82db8a20be32ffa82a1afa860729f3097de6 (diff)
downloadsteam-export-dev-wip.tar.gz
steam-export-dev-wip.tar.xz
Diffstat (limited to 'steam/delete.go')
-rw-r--r--steam/delete.go18
1 files changed, 17 insertions, 1 deletions
diff --git a/steam/delete.go b/steam/delete.go
index aa78e22..eb70a50 100644
--- a/steam/delete.go
+++ b/steam/delete.go
@@ -3,9 +3,25 @@ package steam
import (
"os"
"path/filepath"
+ "sync"
+
+ "riedstra.dev/mitch/steam-export/tasks"
)
-// Delete removes all of the game files and the ACF
+type DeleteJob struct {
+ delFunc tasks.TaskFunc
+ m sync.Mutex
+}
+
+func newDeleteJob(f delFunc) {
+
+}
+
+func (l *Library) Delete(game string) error {
+ l.status.Add("")
+}
+
+// Delete removes all the game files and the ACF
func (l *Library) Delete(game string) error {
g, ok := l.games[game]
if !ok {