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

Method GetCollection

database.go:886–888  ·  view source on GitHub ↗
(alias string)

Source from the content-addressed store, hash-verified

884}
885
886func (db *datastore) GetCollection(alias string) (*Collection, error) {
887 return db.GetCollectionBy("alias = ?", alias)
888}
889
890func (db *datastore) GetCollectionForPad(alias string) (*Collection, error) {
891 c := &Collection{Alias: alias}

Callers 2

CreateOwnedPostMethod · 0.95
ClaimPostsMethod · 0.95

Calls 1

GetCollectionByMethod · 0.95

Tested by

no test coverage detected