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

Struct createGraphResponse

cmd/server/main.go:507–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505 GraphName string `json:"GraphName"`
506}
507type createGraphResponse struct {
508 GraphUUID string `json:"GraphUUID"`
509 Txid int64 `json:"TXId"`
510}
511
512func (s *server) createGraph(ctx context.Context, req *createGraphRequest) (*createGraphResponse, error) {
513 gID, curTx, err := s.db.CreateGraph(ctx, req.GraphName)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected