An atproto PDS written in Go

nits

authored by hailey.at and committed by Tangled d91516f9 0ed1a4e8

Changed files
+3 -3
server
+3 -3
server/repo.go
··· 104 105 dbs := rm.s.getBlockstore(urepo.Did) 106 bs := recording_blockstore.New(dbs) 107 - r, err := repo.OpenRepo(context.TODO(), bs, rootcid) 108 109 var results []ApplyWriteResult 110 ··· 196 }) 197 198 // delete the record from the repo 199 - err := r.DeleteRecord(context.TODO(), op.Collection+"/"+*op.Rkey) 200 if err != nil { 201 return nil, err 202 } ··· 264 } 265 266 // get a diff of the changes to the repo 267 - diffops, err := r.DiffSince(context.TODO(), rootcid) 268 if err != nil { 269 return nil, err 270 }
··· 104 105 dbs := rm.s.getBlockstore(urepo.Did) 106 bs := recording_blockstore.New(dbs) 107 + r, err := repo.OpenRepo(ctx, bs, rootcid) 108 109 var results []ApplyWriteResult 110 ··· 196 }) 197 198 // delete the record from the repo 199 + err := r.DeleteRecord(ctx, fmt.Sprintf("%s/%s", op.Collection, *op.Rkey)) 200 if err != nil { 201 return nil, err 202 } ··· 264 } 265 266 // get a diff of the changes to the repo 267 + diffops, err := r.DiffSince(ctx, rootcid) 268 if err != nil { 269 return nil, err 270 }