MCPcopy Create free account
hub / github.com/async-labs/async / changeLocalCacheStoreMethod

Method changeLocalCacheStoreMethod

app/lib/store/Message.ts:130–141  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

128
129 // must be public
130 public changeLocalCacheStoreMethod(data) {
131 this.content = data.content;
132 this.htmlContent = data.htmlContent;
133
134 if (data.isEdited !== undefined) {
135 this.isEdited = !!data.isEdited;
136 }
137
138 if (data.lastEditedAt) {
139 this.lastEditedAt = new Date(data.lastEditedAt);
140 }
141 }
142
143 public async deleteFileStoreMethod({
144 messageId,

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected