MCPcopy
hub / github.com/writefreely/writefreely / UpdateOwnedPost

Method UpdateOwnedPost

database.go:91–91  ·  view source on GitHub ↗
(post *AuthenticatedPost, userID int64)

Source from the content-addressed store, hash-verified

89 CreateOwnedPost(post *SubmittedPost, accessToken, collAlias, hostName string) (*PublicPost, error)
90 CreatePost(userID, collID int64, post *SubmittedPost) (*Post, error)
91 UpdateOwnedPost(post *AuthenticatedPost, userID int64) error
92 GetEditablePost(id, editToken string) (*PublicPost, error)
93 PostIDExists(id string) bool
94 GetPost(id string, collectionID int64) (*PublicPost, error)

Callers 1

existingPostFunction · 0.65

Implementers 1

datastoredatabase.go

Calls

no outgoing calls

Tested by

no test coverage detected