Struct git2::IndexTime
[−]
[src]
pub struct IndexTime { // some fields omitted }
Time structure used in a git index entry.
Methods
impl IndexTime
fn new(seconds: i32, nanoseconds: u32) -> IndexTime
Creates a new time structure from its components.
fn seconds(&self) -> i32
Returns the number of seconds in the second component of this time.
fn nanoseconds(&self) -> u32
Returns the nanosecond component of this time.