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

Method CanonicalURL

collections.go:249–251  ·  view source on GitHub ↗

CanonicalURL returns a fully-qualified URL to the collection.

()

Source from the content-addressed store, hash-verified

247
248// CanonicalURL returns a fully-qualified URL to the collection.
249func (c *Collection) CanonicalURL() string {
250 return c.RedirectingCanonicalURL(false)
251}
252
253func (c *Collection) DisplayCanonicalURL() string {
254 us := c.CanonicalURL()

Callers 13

viewCollectionPostFunction · 0.95
DisplayCanonicalURLMethod · 0.95
ForPublicMethod · 0.95
PersonObjectMethod · 0.95
handleLogOutCollectionFunction · 0.95
GetCollectionsMethod · 0.95
GetPublicCollectionsMethod · 0.95
handleViewSitemapFunction · 0.95
handleGetSplitContentFunction · 0.95
FindUserMethod · 0.95

Calls 1

Tested by

no test coverage detected