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
0,
732
)?;
733
}
734
-
let links =
735
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
0
0
0
0
0
0
0
736
let dids = storage.get_distinct_dids("a.com", "app.t.c", ".abc.uri", 2, None)?;
737
assert_eq!(
738
links,
···
1043
0,
1044
)?;
1045
}
1046
-
let links =
1047
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
0
0
0
0
0
0
0
1048
assert_eq!(
1049
links,
1050
PagedAppendingCollection {
···
1114
0,
1115
)?;
1116
}
1117
-
let links =
1118
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
0
0
0
0
0
0
0
1119
assert_eq!(
1120
links,
1121
PagedAppendingCollection {
···
1199
0,
1200
)?;
1201
}
1202
-
let links =
1203
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
0
0
0
0
0
0
0
1204
assert_eq!(
1205
links,
1206
PagedAppendingCollection {
···
1271
0,
1272
)?;
1273
}
1274
-
let links =
1275
-
storage.get_links("a.com", "app.t.c", ".abc.uri", false, 2, None, &HashSet::default())?;
0
0
0
0
0
0
0
1276
assert_eq!(
1277
links,
1278
PagedAppendingCollection {
···
731
0,
732
)?;
733
}
734
+
let links = storage.get_links(
735
+
"a.com",
736
+
"app.t.c",
737
+
".abc.uri",
738
+
false,
739
+
2,
740
+
None,
741
+
&HashSet::default(),
742
+
)?;
743
let dids = storage.get_distinct_dids("a.com", "app.t.c", ".abc.uri", 2, None)?;
744
assert_eq!(
745
links,
···
1050
0,
1051
)?;
1052
}
1053
+
let links = storage.get_links(
1054
+
"a.com",
1055
+
"app.t.c",
1056
+
".abc.uri",
1057
+
false,
1058
+
2,
1059
+
None,
1060
+
&HashSet::default(),
1061
+
)?;
1062
assert_eq!(
1063
links,
1064
PagedAppendingCollection {
···
1128
0,
1129
)?;
1130
}
1131
+
let links = storage.get_links(
1132
+
"a.com",
1133
+
"app.t.c",
1134
+
".abc.uri",
1135
+
false,
1136
+
2,
1137
+
None,
1138
+
&HashSet::default(),
1139
+
)?;
1140
assert_eq!(
1141
links,
1142
PagedAppendingCollection {
···
1220
0,
1221
)?;
1222
}
1223
+
let links = storage.get_links(
1224
+
"a.com",
1225
+
"app.t.c",
1226
+
".abc.uri",
1227
+
false,
1228
+
2,
1229
+
None,
1230
+
&HashSet::default(),
1231
+
)?;
1232
assert_eq!(
1233
links,
1234
PagedAppendingCollection {
···
1299
0,
1300
)?;
1301
}
1302
+
let links = storage.get_links(
1303
+
"a.com",
1304
+
"app.t.c",
1305
+
".abc.uri",
1306
+
false,
1307
+
2,
1308
+
None,
1309
+
&HashSet::default(),
1310
+
)?;
1311
assert_eq!(
1312
links,
1313
PagedAppendingCollection {