Skip to main content

Module session

Module session 

Source
Expand description

Shared session context for adapter operations.

The Session struct holds state that can be reused across multiple provider operations, such as repository information and cached auth tokens. This is particularly useful for workflow-chain commands that perform multiple operations in sequence.

§Example

use gitflow_core::Session;

let session = Session::new("owner/repo", "github");
assert_eq!(session.repo, "owner/repo");

Structs§

Session
Shared session context for adapter operations.