diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/feed/state.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/feed/state.go b/internal/feed/state.go index 8efef5e..2a0a1e1 100644 --- a/internal/feed/state.go +++ b/internal/feed/state.go @@ -82,3 +82,7 @@ func (state *State) RemoveUndue() { } } } + +func (state *State) NumFeeds() int { + return len(state.feeds) +} |