MCPcopy Create free account
hub / github.com/CatMuse/HiNote / emitCommentUpdate

Method emitCommentUpdate

src/services/EventManager.ts:36–38  ·  view source on GitHub ↗

* 触发评论更新事件

(filePath: string, oldComment: string, newComment: string, sourceId: string)

Source from the content-addressed store, hash-verified

34 * 触发评论更新事件
35 */
36 public emitCommentUpdate(filePath: string, oldComment: string, newComment: string, sourceId: string) {
37 this.events.trigger('comment:update', filePath, oldComment, newComment, sourceId);
38 }
39
40 /**
41 * 触发评论删除事件

Callers 2

addHighlightMethod · 0.80
updateCommentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected