MCPcopy Index your code
hub / github.com/devploit/debugHunter / saveOption

Function saveOption

options.js:36–43  ·  view source on GitHub ↗
(key, value, savedIndicatorId = null)

Source from the content-addressed store, hash-verified

34}
35
36function saveOption(key, value, savedIndicatorId = null) {
37 chrome.storage.sync.set({ [key]: value }, () => {
38 console.log(`[debugHunter] Saved ${key}:`, value);
39 if (savedIndicatorId) {
40 showSaved(savedIndicatorId);
41 }
42 });
43}
44
45function loadOptions(callback) {
46 chrome.storage.sync.get([

Callers 4

setupRangeInputFunction · 0.85
setupCheckboxFunction · 0.85
setupSelectFunction · 0.85
setupDynamicPatternsFunction · 0.85

Calls 1

showSavedFunction · 0.85

Tested by

no test coverage detected