post-push-party 0.1.9

Push code, earn points, throw a party!
1
2
3
4
5
6
7
8
9
10
11
use crate::git::Push;
use crate::storage::PushHistory;

use super::Clock;

/// context for evaluating bonuses on a push
pub struct PushContext<'a> {
    pub push: &'a Push,
    pub history: &'a PushHistory<'a>,
    pub clock: &'a Clock,
}