MCPcopy Create free account
hub / github.com/Banrai/PiScan / FetchOrCreateDefaultAccount

Function FetchOrCreateDefaultAccount

client/database/db-access.go:401–418  ·  view source on GitHub ↗

FetchOrCreateDefaultAccount returns the existing local client account (in single-user mode), or creates it, if it does not exist yet

(db *sqlite3.Conn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GetDesignatedAccountFunction · 0.85

Calls 2

GetAccountFunction · 0.85
AddMethod · 0.45

Tested by

no test coverage detected