use anyhow::Result;
use std::path::Path;
use uuid::Uuid;
use std::fmt::Debug;
pub trait EditorCommunicator: Send + Sync + Debug {
fn save_and_lock_file(&self, file_path: &Path) -> Result<Uuid>;
fn unlock_and_reload_file(&self, request_id: Uuid) -> Result<()>;
}
pub mod lockfile;