26 lines · 724 B · Rust
RawDownload
//! Operations on a complete commit graph.mod access;mod init;pub mod verify; use crate::file::File;use std::fmt; /// A complete commit graph.////// The data in the commit graph may come from a monolithic `objects/info/commit-graph` file, or it/// may come from one or more `objects/info/commit-graphs/graph-*.graph` files. These files are/// generated via `git commit-graph write ...` commands.pub struct Graph {    files: Vec<File>,} /// A generalized position for use in [`Graph`].#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, Hash)]pub struct Position(pub u32); impl fmt::Display for Position {    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {        self.0.fmt(f)    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t