MCPcopy
hub / github.com/writefreely/writefreely / GetPostsCount

Method GetPostsCount

database.go:121–121  ·  view source on GitHub ↗
(c *CollectionObj, includeFuture bool)

Source from the content-addressed store, hash-verified

119
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)

Callers 6

compileFullExportFunction · 0.65
fetchCollectionFunction · 0.65
fetchCollectionPostsFunction · 0.65
newDisplayCollectionFunction · 0.65
handleViewAdminUserFunction · 0.65

Implementers 1

datastoredatabase.go

Calls

no outgoing calls

Tested by

no test coverage detected