Expand description
Git object utilities for GitTorrent SHA256 operations
Structs§
- Commit
Object - Git commit object data
- GitObject
- Git object with its SHA256 hash and data
- Tree
Entry - Git tree entry
- Tree
Object - Git tree object data
Enums§
- GitObject
Type - Git object types
- Tree
Entry Mode - Tree entry modes
Functions§
- extract_
commit_ objects - Extract objects for a specific commit and its history
- extract_
git_ refs - Extract git references from a repository
- extract_
objects - Extract all Git objects from a repository
- hash_
to_ oid - Convert GitHash back to git2::Oid Note: git2 currently only supports SHA1, so SHA256 hashes will fail
- is_
exportable - Check if a repository is exportable (has git-daemon-export-ok file)
- oid_
to_ hash - Convert git2::Oid to GitHash (supports both SHA1 and SHA256)
- oid_
to_ sha256 Deprecated - parse_
blob_ object - Parse a blob object from git format
- parse_
commit_ object - Parse a commit object from git format
- parse_
object_ references - Parse object references from git object data.
- parse_
tree_ object - Parse a tree object from git format.
- sha256_
to_ oid Deprecated - write_
objects - Write git objects to a repository