Skip to main content

SessionCwdSource

Trait SessionCwdSource 

Source
pub trait SessionCwdSource {
    // Required methods
    fn get_cwd(&self) -> Option<String>;
    fn get_session_file(&self) -> Option<String>;
}
Expand description

Trait for sources that can provide session CWD info.

Required Methods§

Source

fn get_cwd(&self) -> Option<String>

Get the working directory stored in the session.

Source

fn get_session_file(&self) -> Option<String>

Get the session file path, if any.

Implementors§