diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-20 00:35:09 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-20 00:35:09 -0500 |
| commit | f07efbb6fc7a63055a8424799ce03a5f37539873 (patch) | |
| tree | ff5983b2cae4cc9b8f2f346a47cb3eb23b2f79ae /steam/delete.go | |
| parent | cbfd82db8a20be32ffa82a1afa860729f3097de6 (diff) | |
| download | steam-export-dev-wip.tar.gz steam-export-dev-wip.tar.xz | |
wipdev-wip
Diffstat (limited to 'steam/delete.go')
| -rw-r--r-- | steam/delete.go | 18 |
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 { |
