MCPcopy
hub / github.com/writefreely/writefreely / UpdatePostPinState

Method UpdatePostPinState

database.go:107–107  ·  view source on GitHub ↗
(pinned bool, postID string, collID, ownerID, pos int64)

Source from the content-addressed store, hash-verified

105 DeleteCollection(alias string, userID int64) error
106
107 UpdatePostPinState(pinned bool, postID string, collID, ownerID, pos int64) error
108 GetLastPinnedPostPos(collID int64) int64
109 GetPinnedPosts(coll *CollectionObj, includeFuture bool) (*[]PublicPost, error)
110 RemoveCollectionRedirect(t *sql.Tx, alias string) error

Callers 1

pinPostFunction · 0.65

Implementers 1

datastoredatabase.go

Calls

no outgoing calls

Tested by

no test coverage detected