tangled
alpha
login
or
join now
microcosm.blue
/
microcosm-rs
65
fork
atom
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
65
fork
atom
overview
issues
8
pulls
2
pipelines
Format tests
seoul.systems
2 months ago
0af3b528
7d5f8049
+45
-10
1 changed file
expand all
collapse all
unified
split
constellation
src
storage
mod.rs
+45
-10
constellation/src/storage/mod.rs
···
731
731
0,
732
732
)?;
733
733
}
734
734
-
let links =
735
735
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
734
734
+
let links = storage.get_links(
735
735
+
"a.com",
736
736
+
"app.t.c",
737
737
+
".abc.uri",
738
738
+
false,
739
739
+
2,
740
740
+
None,
741
741
+
&HashSet::default(),
742
742
+
)?;
736
743
let dids = storage.get_distinct_dids("a.com", "app.t.c", ".abc.uri", 2, None)?;
737
744
assert_eq!(
738
745
links,
···
1043
1050
0,
1044
1051
)?;
1045
1052
}
1046
1046
-
let links =
1047
1047
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
1053
1053
+
let links = storage.get_links(
1054
1054
+
"a.com",
1055
1055
+
"app.t.c",
1056
1056
+
".abc.uri",
1057
1057
+
false,
1058
1058
+
2,
1059
1059
+
None,
1060
1060
+
&HashSet::default(),
1061
1061
+
)?;
1048
1062
assert_eq!(
1049
1063
links,
1050
1064
PagedAppendingCollection {
···
1114
1128
0,
1115
1129
)?;
1116
1130
}
1117
1117
-
let links =
1118
1118
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
1131
1131
+
let links = storage.get_links(
1132
1132
+
"a.com",
1133
1133
+
"app.t.c",
1134
1134
+
".abc.uri",
1135
1135
+
false,
1136
1136
+
2,
1137
1137
+
None,
1138
1138
+
&HashSet::default(),
1139
1139
+
)?;
1119
1140
assert_eq!(
1120
1141
links,
1121
1142
PagedAppendingCollection {
···
1199
1220
0,
1200
1221
)?;
1201
1222
}
1202
1202
-
let links =
1203
1203
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
1223
1223
+
let links = storage.get_links(
1224
1224
+
"a.com",
1225
1225
+
"app.t.c",
1226
1226
+
".abc.uri",
1227
1227
+
false,
1228
1228
+
2,
1229
1229
+
None,
1230
1230
+
&HashSet::default(),
1231
1231
+
)?;
1204
1232
assert_eq!(
1205
1233
links,
1206
1234
PagedAppendingCollection {
···
1271
1299
0,
1272
1300
)?;
1273
1301
}
1274
1274
-
let links =
1275
1275
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
1302
1302
+
let links = storage.get_links(
1303
1303
+
"a.com",
1304
1304
+
"app.t.c",
1305
1305
+
".abc.uri",
1306
1306
+
false,
1307
1307
+
2,
1308
1308
+
None,
1309
1309
+
&HashSet::default(),
1310
1310
+
)?;
1276
1311
assert_eq!(
1277
1312
links,
1278
1313
PagedAppendingCollection {