MCPcopy Create free account
hub / github.com/bcspragu/logseq-sync / toGraphEncryptKey

Function toGraphEncryptKey

db/sqlite/sqlite.go:172–177  ·  view source on GitHub ↗
(g sqlitedb.GraphEncryptKey)

Source from the content-addressed store, hash-verified

170}
171
172func toGraphEncryptKey(g sqlitedb.GraphEncryptKey) *db.GraphEncryptKey {
173 return &db.GraphEncryptKey{
174 EncryptedPrivateKey: g.EncryptedPrivateKey,
175 PublicKey: g.PublicKey,
176 }
177}
178
179func (d *DB) SetFileMeta(ctx context.Context, gID db.GraphID, md *db.FileMeta) error {
180 if md.ID == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected