Skip to main content

log_file_path

Function log_file_path 

Source
pub fn log_file_path(
    repo_root: &Path,
    session_id: &str,
    branch: &str,
) -> PathBuf
Expand description

Build the full log file path for a branch within a session.

Returns <repo_root>/.git-paw/logs/<session_id>/<sanitized-branch>.log.