Dead-Code Cleaning

This commit is contained in:
Alexey
2026-10-31 12:19:16 +03:00
parent 61afd6c702
commit cecc8df758
40 changed files with 104 additions and 306 deletions
+3 -1
View File
@@ -16,8 +16,10 @@ mod atomic;
pub(in crate::api) use atomic::{write_atomic, write_atomic_if_unchanged};
#[cfg(test)]
use persistence::{find_toml_table_bounds, render_access_section, save_sections_to_disk};
#[cfg(test)]
pub(in crate::api) use persistence::save_access_sections_to_disk;
pub(in crate::api) use persistence::{
render_server_listeners, render_top_level_section, save_access_sections_to_disk,
render_server_listeners, render_top_level_section,
save_access_sections_to_disk_if_revision, upsert_toml_table,
};
+1
View File
@@ -97,6 +97,7 @@ pub(in crate::api) fn render_server_listeners(cfg: &ProxyConfig) -> Result<Strin
}
/// Validates and atomically writes access tables to their single source owner.
#[cfg(test)]
pub(in crate::api) async fn save_access_sections_to_disk(
config_path: &Path,
cfg: &ProxyConfig,