MCPcopy
hub / github.com/mxpv/podsync / AddFeed

Method AddFeed

pkg/db/storage.go:22–22  ·  view source on GitHub ↗

AddFeed will: - Insert or update feed info - Append new episodes to the existing list of episodes (existing episodes are not overwritten!)

(ctx context.Context, feedID string, feed *model.Feed)

Source from the content-addressed store, hash-verified

20 // - Insert or update feed info
21 // - Append new episodes to the existing list of episodes (existing episodes are not overwritten!)
22 AddFeed(ctx context.Context, feedID string, feed *model.Feed) error
23
24 // GetFeed gets a feed by ID
25 GetFeed(ctx context.Context, feedID string) (*model.Feed, error)

Callers 1

updateFeedMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected