pub struct FileManager {}Expand description
Central coordinator for all file operations
FileManager orchestrates safe writes, transactions, conflict resolution, and audit logging. It provides a high-level API for file operations.
Implementations§
Source§impl FileManager
impl FileManager
Sourcepub async fn write_file(
&self,
_path: &Path,
_content: &str,
) -> Result<FileOperation, FileError>
pub async fn write_file( &self, _path: &Path, _content: &str, ) -> Result<FileOperation, FileError>
Sourcepub fn begin_transaction(&self) -> Uuid
pub fn begin_transaction(&self) -> Uuid
Trait Implementations§
Source§impl Debug for FileManager
impl Debug for FileManager
Auto Trait Implementations§
impl Freeze for FileManager
impl RefUnwindSafe for FileManager
impl Send for FileManager
impl Sync for FileManager
impl Unpin for FileManager
impl UnwindSafe for FileManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more