gitea: code.gitea.io/gitea/services/comments Index | Files

package comments

import "code.gitea.io/gitea/services/comments"

Index

Package Files

comments.go

func CreateIssueComment Uses

func CreateIssueComment(doer *models.User, repo *models.Repository, issue *models.Issue, content string, attachments []string) (*models.Comment, error)

CreateIssueComment creates a plain issue comment.

func DeleteComment Uses

func DeleteComment(doer *models.User, comment *models.Comment) error

DeleteComment deletes the comment

func UpdateComment Uses

func UpdateComment(c *models.Comment, doer *models.User, oldContent string) error

UpdateComment updates information of comment.

Package comments imports 2 packages (graph) and is imported by 7 packages. Updated 2021-01-22. Refresh now. Tools for package owners.