automatons_github/resource/git.rs
1use crate::name;
2
3name!(
4 /// Git reference
5 ///
6 /// A Git reference (git ref) is a file that contains a Git commit SHA-1 hash. When referring to
7 /// a Git commit, you can use the Git reference, which is an easy-to-remember name, rather than
8 /// the hash.
9 ///
10 /// Read more: https://docs.github.com/en/rest/git/refs
11 GitRef
12);
13
14name!(
15 /// Git commit SHA-1
16 ///
17 /// Commits in Git are uniquely identified by their SHA-1 hash, which is used throughout
18 /// GitHub's API to reference commits in the Git database.
19 GitSha
20);