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

Method DeleteGraph

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

Source from the content-addressed store, hash-verified

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
71 GraphSalts(ctx context.Context, id db.GraphID) ([]*db.GraphSalt, error)

Callers 2

deleteGraphMethod · 0.65
DeleteGraphMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected