From 59e22e31c87f13d4c8a98a1347687726d2fc8cf6 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Fri, 18 Jul 2025 01:13:54 -0600 Subject: [PATCH] remove unneeded struct --- src/common.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/common.rs b/src/common.rs index fae5447..a73d419 100644 --- a/src/common.rs +++ b/src/common.rs @@ -1,21 +1,5 @@ use colored::Colorize; -pub enum ExitCode { - ParseError = 2, - FilesystemError = 3, - RepositoryError = 4, - RemoteError = 5, - PushError = 6, - FetchError = 7, - ConfigError = 8, - HaltError = 130, -} - -pub struct ReturnData { - pub code: ExitCode, - pub msg: String, -} - pub fn error(msg: String) { eprintln!("{} {}", "error:".red().bold(), msg); }