+5
-5
cmd/server/main.go
+5
-5
cmd/server/main.go
············
+38
-10
internal/atproto/carstore/carstore.go
+38
-10
internal/atproto/carstore/carstore.go
······func (c *CarStore) ImportSlice(ctx context.Context, uid models.Uid, since *string, carData []byte) (cid.Cid, error) {func (c *CarStore) ReadUserCar(ctx context.Context, uid models.Uid, sinceRev string, incremental bool, w io.Writer) error {func (c *CarStore) CompactUserShards(ctx context.Context, uid models.Uid, aggressive bool) error {func (c *CarStore) NewDeltaSession(ctx context.Context, uid models.Uid, since *string) (*carstore.DeltaSession, error) {
+11
-11
internal/atproto/carstore/repo_store.go
+11
-11
internal/atproto/carstore/repo_store.go
······func (rs *RepoStore) ImportRepo(ctx context.Context, did string, carData io.Reader) (cid.Cid, error) {···func (rs *RepoStore) ReadRepo(ctx context.Context, did string, sinceRev string) ([]byte, error) {············
+11
-11
internal/atproto/carstore/user_mapping.go
+11
-11
internal/atproto/carstore/user_mapping.go
···// UserMapping manages the mapping between DIDs and numeric UIDs required by Indigo's carstore···············
+20
internal/core/repository/constants.go
+20
internal/core/repository/constants.go
···
+28
-35
internal/core/repository/service.go
+28
-35
internal/core/repository/service.go
····································func (s *Service) ListCommits(did string, limit int, cursor string) ([]*Commit, string, error) {
+17
-9
internal/core/repository/service_test.go
+17
-9
internal/core/repository/service_test.go
························
+5
internal/db/migrations/003_update_for_carstore.sql
+5
internal/db/migrations/003_update_for_carstore.sql
···
+32
internal/db/migrations/005_add_user_maps_indices.sql
+32
internal/db/migrations/005_add_user_maps_indices.sql
···+IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'user_maps' AND column_name = 'did') THEN+IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'user_maps' AND column_name = 'created_at') THEN