Crate freneng

Crate freneng 

Source
Expand description

§Fren Core Library

This library provides the core renaming engine that can be used by any frontend (CLI, GUI, or other applications). It handles pattern parsing, file operations, validation, and history management.

All operations are async and non-blocking, making it suitable for GUI applications where blocking operations would freeze the user interface.

Re-exports§

pub use crate::fs_ops::FileRename;
pub use crate::fs_ops::FrenError;
pub use crate::fs_ops::RenameExecutionResult;
pub use crate::fs_ops::find_matching_files;
pub use crate::fs_ops::find_matching_files_recursive;
pub use crate::fs_ops::perform_renames;
pub use crate::validation::validate_renames;
pub use crate::validation::ValidationIssue;
pub use crate::validation::ValidationResult;
pub use crate::audit::log_audit_entry;
pub use crate::audit::log_audit_from_result;
pub use crate::audit::read_audit_log;
pub use crate::audit::clear_audit_log;
pub use crate::audit::AuditEntry;

Modules§

audit
Audit logging for rename operations.
fs_ops
File system operations for finding and renaming files.
history
History management for undo operations.
pattern
Pattern parsing and application for renaming files.
validation
Validation of rename operations before execution.

Structs§

EnginePreviewResult
Result of generating a preview of renaming operations.
RenamingEngine
The main renaming engine that can be consumed by any frontend (CLI/GUI).