use Result;
use crate::;
/// Get the rotation configuration setting
///
/// Returns `None` when rotation is not configured (rotation is off).
/// Returns `Some(RotationOption::RoundRobin)` when round-robin rotation
/// is enabled.
///
/// # Errors
///
/// Returns an error if reading the git config fails, or if the stored
/// value cannot be parsed as a valid rotation option.