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

Method AddGraphEncryptKey

cmd/server/main.go:73–73  ·  view source on GitHub ↗
(ctx context.Context, id db.GraphID, gek *db.GraphEncryptKey)

Source from the content-addressed store, hash-verified

71 GraphSalts(ctx context.Context, id db.GraphID) ([]*db.GraphSalt, error)
72
73 AddGraphEncryptKey(ctx context.Context, id db.GraphID, gek *db.GraphEncryptKey) error
74 GraphEncryptKeys(ctx context.Context, id db.GraphID) ([]*db.GraphEncryptKey, error)
75
76 SetFileMeta(ctx context.Context, id db.GraphID, md *db.FileMeta) error

Callers 2

AddGraphEncryptKeyMethod · 0.65

Implementers 2

DBdb/mem/mem.go
DBdb/sqlite/sqlite.go

Calls

no outgoing calls

Tested by

no test coverage detected