mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
1 parent
9b658d86b2
commit
76509830e6
190 files changed
+3469
-930
No files matched your search
+14
-3
@@ -194,8 +194,13 @@ pub(super) async fn compact(
|
||||
}
|
||||
|
||||
let range = (
|
||||
start.as_ref().map(String::as_bytes).map(Into::into),
|
||||
stop.as_ref().map(String::as_bytes).map(Into::into),
|
||||
start
|
||||
.as_ref()
|
||||
.map(String::as_bytes)
|
||||
.map(Into::into),
|
||||
stop.as_ref()
|
||||
.map(String::as_bytes)
|
||||
.map(Into::into),
|
||||
);
|
||||
|
||||
let options = Options {
|
||||
@@ -429,7 +434,13 @@ pub(super) async fn raw_get(&self, map: String, key: String) -> Result {
|
||||
|
||||
#[admin_command]
|
||||
pub(super) async fn raw_maps(&self) -> Result {
|
||||
let list: Vec<_> = self.services.db.iter().map(at!(0)).copied().collect();
|
||||
let list: Vec<_> = self
|
||||
.services
|
||||
.db
|
||||
.iter()
|
||||
.map(at!(0))
|
||||
.copied()
|
||||
.collect();
|
||||
|
||||
self.write_str(&format!("{list:#?}")).await
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user