aboutsummaryrefslogtreecommitdiff
path: root/steam/delete.go
diff options
context:
space:
mode:
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 {