From ba3cc4f15dd4b7457bbcacc64fcdbdbb0362d473 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 30 Oct 2023 13:36:08 +0800 Subject: feat: deprecate history file (#179) --- src/config/mod.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/config') diff --git a/src/config/mod.rs b/src/config/mod.rs index 4437833..695dad5 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -27,7 +27,6 @@ use std::{ const CONFIG_FILE_NAME: &str = "config.yaml"; const ROLES_FILE_NAME: &str = "roles.yaml"; -const HISTORY_FILE_NAME: &str = "history.txt"; const MESSAGES_FILE_NAME: &str = "messages.md"; const SESSIONS_DIR_NAME: &str = "sessions"; @@ -221,10 +220,6 @@ impl Config { ) } - pub fn history_file() -> Result { - Self::local_path(HISTORY_FILE_NAME) - } - pub fn messages_file() -> Result { Self::local_path(MESSAGES_FILE_NAME) } -- cgit v1.2.3