Refactor config path module imports

Move `ProjectDirs` import to be consistent with other imports in the
module and avoid potential ordering issues.
This commit is contained in:
2026-05-04 09:37:59 +02:00
parent 012e6732b3
commit ac98dc4ef9
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ use crate::case_update::{PutOnelinerError, put_oneliner};
use crate::footer_status::{FooterStatus, pick_footer_status};
use crate::server_sync::{ServerSync, SyncConfig, WorkerSnapshot, WorkerState};
use crate::snapshot_cache::SnapshotCache;
use crate::startup::{DEFAULT_MARKER_RETENTION, DEFAULT_ORPHAN_AUDIO_RETENTION, run_startup_cleanup};
use crate::startup::{
DEFAULT_MARKER_RETENTION, DEFAULT_ORPHAN_AUDIO_RETENTION, run_startup_cleanup,
};
use crate::upload::{PendingUpload, UploadEvent, write_sidecar};
use doctate_common::join_url;
use doctate_common::oneliners::OnelinerState;
+1 -1
View File
@@ -6,8 +6,8 @@
use std::path::PathBuf;
use directories::ProjectDirs;
pub use crate::config::{Config, ConfigError};
use directories::ProjectDirs;
const CONFIG_FILENAME: &str = "client.toml";