MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / save

Method save

src/lib/installState.js:105–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 }
104
105 async save() {
106 this.store = this.updatedStore;
107 await fsOperation(this.storeUrl).writeFile(
108 JSON.stringify(this.updatedStore),
109 );
110 }
111
112 async delete(url) {
113 url = url.toLowerCase();

Callers 4

closeTabsFunction · 0.80
"save-all-changes"Function · 0.80
saveFunction · 0.80
installPluginFunction · 0.80

Calls 2

fsOperationFunction · 0.85
writeFileMethod · 0.45

Tested by

no test coverage detected