MCPcopy Create free account
hub / github.com/Yantesoft/LinuxdoAssistant / getBaseConfig

Function getBaseConfig

linuxdo-helper.user.js:174–177  ·  view source on GitHub ↗

* 获取基础配置(从存储中读取,如果没有则使用默认值) * @returns {Object} 基础配置对象

()

Source from the content-addressed store, hash-verified

172 * @returns {Object} 基础配置对象
173 */
174 function getBaseConfig() {
175 const savedConfig = GM_getValue(STORAGE_KEYS.baseConfig, null);
176 return savedConfig ? savedConfig : { ...DEFAULT_CONFIG };
177 }
178
179 /**
180 * 保存基础配置

Callers 2

getConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected