MCPcopy
hub / github.com/writefreely/writefreely / extractData

Method extractData

posts.go:1708–1711  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1706}
1707
1708func (p *Post) extractData() {
1709 p.Tags = tags.Extract(p.Content)
1710 p.extractImages()
1711}
1712
1713func (p *Post) IsSans() bool {
1714 return p.Font == "sans"

Callers 12

GetPostsMethod · 0.95
GetPostsTaggedMethod · 0.95
GetLangPostsMethod · 0.95
GetPinnedPostsMethod · 0.95
GetTopPostsMethod · 0.95
GetAnonymousPostsMethod · 0.95
GetUserPostsMethod · 0.95
FetchPublicPostsMethod · 0.95
newPostFunction · 0.80
existingPostFunction · 0.80
fetchPostFunction · 0.80
viewCollectionPostFunction · 0.80

Calls 1

extractImagesMethod · 0.95

Tested by

no test coverage detected