MCPcopy Create free account
hub / github.com/TheNetsky/Microsoft-Rewards-Script / openSessionDb

Function openSessionDb

scripts/utils.js:264–266  ·  view source on GitHub ↗
(dbPath, { readonly = false } = {})

Source from the content-addressed store, hash-verified

262}
263
264export function openSessionDb(dbPath, { readonly = false } = {}) {
265 return new DatabaseSync(dbPath, { readOnly: readonly })
266}
267
268export function closeSessionDb(db) {
269 try {

Callers 2

clearSessions.jsFile · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected