summaryrefslogtreecommitdiffstats
path: root/state
diff options
context:
space:
mode:
Diffstat (limited to 'state')
-rw-r--r--state/state.go3
1 files changed, 3 insertions, 0 deletions
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.