summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-29 21:14:44 -0500
committersiddharth <s@ricketyspace.net>2021-11-29 21:14:44 -0500
commit1f748cc2394e28c384497dcdfaf92fb7d5af202e (patch)
tree613b2e0c75b5d563f1817caf529c5828b53116b5
parent08afd093c0dee63b4f25933da1ac4db9aa3fd1ae (diff)
state: update ProcessState.DB
Add documentation.
-rw-r--r--state/state.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/state/state.go b/state/state.go
index c43071b..c37a74b 100644
--- a/state/state.go
+++ b/state/state.go
@@ -20,7 +20,8 @@ type EntryResult struct {
}
type ProcessState struct {
- DB *db.FernDB
+ // Tracks entries that have already been downloaded.
+ 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.