Skip to content

Commit f28c1b3

Browse files
authored
Merge pull request #236 from genedna/main
Remove the mda subcommand from mega
2 parents fbf5f51 + e455d21 commit f28c1b3

File tree

3 files changed

+2
-32
lines changed

3 files changed

+2
-32
lines changed

git/src/protocol/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ pub enum CommandType {
155155
}
156156

157157
impl RefCommand {
158-
const OK_STATUS: &str = "ok";
158+
const OK_STATUS: &'static str = "ok";
159159

160-
const FAILED_STATUS: &str = "ng";
160+
const FAILED_STATUS: &'static str = "ng";
161161

162162
pub fn new(old_id: String, new_id: String, ref_name: String) -> Self {
163163
let command_type = if ZERO_ID == old_id {

src/commands/mda.rs

-27
This file was deleted.

src/commands/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
//!
66
mod https;
77
mod init;
8-
mod mda;
98
mod p2p;
109
mod ssh;
1110

@@ -20,7 +19,6 @@ pub fn builtin() -> Vec<Command> {
2019
init::cli(),
2120
ssh::cli(),
2221
p2p::cli(),
23-
mda::cli(),
2422
]
2523
}
2624

@@ -30,7 +28,6 @@ pub(crate) fn builtin_exec(cmd: &str) -> Option<fn(Config, &ArgMatches) -> MegaR
3028
"init" => init::exec,
3129
"ssh" => ssh::exec,
3230
"p2p" => p2p::exec,
33-
"mda" => mda::exec,
3431
_ => return None,
3532
};
3633

0 commit comments

Comments
 (0)