mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-28 08:14:22 +02:00
19 lines
389 B
Rust
19 lines
389 B
Rust
use clap::Subcommand;
|
|
use ruma::events::room::message::RoomMessageEventContent;
|
|
|
|
use crate::Result;
|
|
|
|
#[cfg_attr(test, derive(Debug))]
|
|
#[derive(Subcommand)]
|
|
pub(crate) enum FsckCommand {
|
|
Register,
|
|
}
|
|
|
|
#[allow(dead_code)]
|
|
pub(crate) async fn fsck(command: FsckCommand, _body: Vec<&str>) -> Result<RoomMessageEventContent> {
|
|
match command {
|
|
FsckCommand::Register => {
|
|
todo!()
|
|
},
|
|
}
|
|
}
|