From b1478c8b4f54aa4ff9f35ffcc3671a8fcd581d35 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sun, 28 Nov 2021 21:51:42 -0500 Subject: state: add ProcessState.DB --- state/state.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'state') diff --git a/state/state.go b/state/state.go index 4bfbf39..9547673 100644 --- a/state/state.go +++ b/state/state.go @@ -3,6 +3,8 @@ package state +import "ricketyspace.net/fern/db" + // Contains the result of processing a Feed. type FeedResult struct { FeedId string // Feed's identifier @@ -20,6 +22,7 @@ type EntryResult struct { type ProcessState struct { YDLPath string DumpDir string + DB *db.FernDB // Channel for Feed.Process goroutines to communicate to the // caller about the number of entries that are being // downloaded for a feed. -- cgit v1.2.3