//! Source path method for SourceState.
usestd::path::Path;usecrate::widgets::markdown_widget::state::source_state::SourceState;implSourceState{/// Get the file path if this is a file-based source.
////// # Returns
////// The file path, or `None` if this is a string source or no source is set.
pubfnsource_path(&self)->Option<&Path>{self.source.as_ref().and_then(|s|s.path())}}