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

Method FriendlyVisibility

collections.go:230–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230func (c *Collection) FriendlyVisibility() string {
231 if c.IsPrivate() {
232 return "Private"
233 }
234 if c.IsPublic() {
235 return "Public"
236 }
237 if c.IsProtected() {
238 return "Password-protected"
239 }
240 return "Unlisted"
241}
242
243func (c *Collection) ShowFooterBranding() bool {
244 // TODO: implement this setting

Callers

nothing calls this directly

Calls 3

IsPrivateMethod · 0.95
IsPublicMethod · 0.95
IsProtectedMethod · 0.95

Tested by

no test coverage detected