Use full path of files

This commit is contained in:
Ben Sarmiento
2024-01-27 00:32:16 +01:00
parent 4bb0234d8f
commit 1c0ae6e27f
3 changed files with 10 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ import (
mapset "github.com/deckarep/golang-set/v2"
)
func (t *TorrentManager) getUncachedTorrents() ([]*Torrent, error) {
func (t *TorrentManager) GetUncachedTorrents() ([]*Torrent, error) {
t.log.Debug("Checking if torrents are still cached")
allTorrents, _ := t.DirectoryMap.Get(INT_ALL)