MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / set

Method set

src/app/script/api/storage_script.cpp:79–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 void set(const script::Value& value, const std::string& key, const std::string& domain) {
80 storage[domain.empty() ? app::AppScripting::getFileName() : domain][key] = value;
81 }
82
83 bool load(const std::string& key, const std::string& domain) {
84 try {

Callers 15

initializeMethod · 0.45
rebuildRecentListMethod · 0.45
onProcessMessageMethod · 0.45
scanFolderFunction · 0.45
DialogScriptObjectMethod · 0.45
addMethod · 0.45
saveAsMethod · 0.45
CommandScriptObjectMethod · 0.45
createDialogMethod · 0.45
openMethod · 0.45
createBrushMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected