MCPcopy Index your code
hub / github.com/writefreely/writefreely / GetPosts

Method GetPosts

database.go:122–122  ·  view source on GitHub ↗
(cfg *config.Config, c *Collection, page int, includeFuture, forceRecentFirst, includePinned bool, contentType PostType)

Source from the content-addressed store, hash-verified

120 GetPostLikeCounts(postID string) (int64, error)
121 GetPostsCount(c *CollectionObj, includeFuture bool) error
122 GetPosts(cfg *config.Config, c *Collection, page int, includeFuture, forceRecentFirst, includePinned bool, contentType PostType) (*[]PublicPost, error)
123 GetAllPostsTaggedIDs(c *Collection, tag string, includeFuture bool) ([]string, error)
124 GetPostsTagged(cfg *config.Config, c *Collection, tag string, page int, includeFuture bool) (*[]PublicPost, error)
125

Callers 7

compileFullExportFunction · 0.65
fetchCollectionPostsFunction · 0.65
handleViewCollectionFunction · 0.65
handleGopherCollectionFunction · 0.65
ViewFeedFunction · 0.65
handleViewSitemapFunction · 0.65

Implementers 1

datastoredatabase.go

Calls

no outgoing calls

Tested by

no test coverage detected