summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-29 21:12:39 -0500
committersiddharth <s@ricketyspace.net>2021-11-29 21:12:39 -0500
commite45715e188255f03107187eb9af103d7b81c9a06 (patch)
treed4fe2cde62af102b97235116b92709e00cc39ed1
parentc5c2fe7cf412e6203dc30f0268fa5566669ea287 (diff)
state: update ProcessState
Remove unused fields -- YDLPath and DumpDir.
-rw-r--r--fern.go2
-rw-r--r--state/state.go2
2 files changed, 0 insertions, 4 deletions
diff --git a/fern.go b/fern.go
index 5f766fd..8735d61 100644
--- a/fern.go
+++ b/fern.go
@@ -25,8 +25,6 @@ func init() {
}
pState = state.NewProcessState()
- pState.YDLPath = fConf.YDLPath
- pState.DumpDir = fConf.DumpDir
// Open database.
pState.DB, err = db.Open()
diff --git a/state/state.go b/state/state.go
index 9547673..b8a48d4 100644
--- a/state/state.go
+++ b/state/state.go
@@ -20,8 +20,6 @@ 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