From f07efbb6fc7a63055a8424799ce03a5f37539873 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 20 Jan 2023 00:35:09 -0500 Subject: wip --- steam/delete.go | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'steam/delete.go') 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 { -- cgit v1.2.3