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

Method CreateGraph

cmd/server/main.go:67–67  ·  view source on GitHub ↗
(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

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
69
70 AddGraphSalt(ctx context.Context, id db.GraphID, salt *db.GraphSalt) error

Callers 2

createGraphMethod · 0.65
CreateGraphMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected