History

[commitgraph] Add some doc comments.

Conor Davis committed 6 years ago

Commit 6cf5cd81 parent 66588f23 files · +3 −0Browse files

Showing the changes to git-commitgraph/src (3 of 3 files). Show all

Unified · Split

3 files
  1. git-commitgraph/src/file/mod.rs +1 −0
  2. git-commitgraph/src/graph/mod.rs +1 −0
  3. git-commitgraph/src/lib.rs +1 −0
git-commitgraph/src/file/mod.rs+1−0
@@ -1,3 +1,4 @@
1+//! Operations on a single commit-graph file.
12 use filebuffer::FileBuffer;
23 use git_object::SHA1_SIZE;
34 use std::ops::Range;
git-commitgraph/src/graph/mod.rs+1−0
@@ -1,3 +1,4 @@
1+//! Operations on a complete commit graph.
12 mod access;
23 mod init;
34
git-commitgraph/src/lib.rs+1−0
@@ -7,4 +7,5 @@ pub mod graph; · 6 unmodified lines
77 pub use file::commit::Commit;
88 pub use graph::{Graph, GraphPosition};
99
10+/// The maximum number of commits that can be stored in a commit graph.
1011 pub const MAX_COMMITS: u32 = (1 << 30) + (1 << 29) + (1 << 28) - 1;