Overview of GitDB database types
mainGitDB provides interfaces for read and write access to git repositories. The core db package contains several database types that are combined into a single GitDB instance to represent a complete repository:
LooseObjectDB: Handles loose object reading and writing.PackedDB: Implements pack reading.ReferenceDB: Handles git references.GitDB: The combined database type that integrates the above components.
Data is handled using streams, ensuring that large files can be processed efficiently by only keeping chunks of the stream in memory.