summaryrefslogtreecommitdiff
path: root/src/util/filebuf.h
Commit message (Collapse)AuthorAgeFilesLines
* filebuf: configurable hash typeEdward Thomson2023-04-081-6/+19
| | | | | | `git_filebuf` hashes contents as its written; allow for SHA1 or SHA256 as that hash. Currently, most callers simply use SHA1 as they do not yet know about SHA256 themselves.
* refactor: make util an object libraryEdward Thomson2022-02-221-0/+94
Instead of simply including the utility files directly, make them a cmake object library for easy reusability between other projects within libgit2. Now the top-level `src` is responsible for platform selection, while the next-level `libgit2` and `util` configurations are responsible for identifying what objects they include.