Get the current epoch. See also: [`Commit::epoch`].
(&self)
| 96 | /// |
| 97 | /// See also: [`Commit::epoch`]. |
| 98 | pub fn epoch(&self) -> u64 { |
| 99 | self.head.commit.epoch |
| 100 | } |
| 101 | |
| 102 | /// Update the current epoch. |
| 103 | /// |
no outgoing calls
no test coverage detected