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

Method Graph

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

Source from the content-addressed store, hash-verified

63 Tx(ctx context.Context, id db.GraphID) (db.Tx, error)
64
65 Graph(ctx context.Context, id db.GraphID) (*db.Graph, error)
66 Graphs(ctx context.Context) ([]*db.Graph, error)
67 CreateGraph(ctx context.Context, name string) (db.GraphID, db.Tx, error)
68 DeleteGraph(context.Context, db.GraphID) error

Callers 4

createGraphSaltMethod · 0.65
getFilesMethod · 0.65
TxMethod · 0.65
GraphMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected