yes Git is basically a key-value store. A more technical name would be a content-addressable file system. Any kind of data stored within git can be retrieved using a key, which is a SHA-1 hash. There is a whole section on git objects in the git book
object storage in git
-
30-05-2022 - |
Pergunta
Doing stuff like "git ls-files" on big repos I have noticed that git is quite fast in this regard, subjectively faster than "find . -type f" would be I think (although I haven't done benchmarks).
Is git using some sort of binary key-value data store internally for storing blobs/deltas, like berkeley db or tokyo cabinet?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow