pub fn load_attachment_sync(path: &Path) -> Result<LoadedAttachment, String>Expand description
Synchronous variant of load_attachment for use in non-async contexts
(TUI command handlers). Calls the blocking I/O directly on the current
thread — acceptable for the TUI, which already blocks on user input.