| Name |
Last commit
|
Last update |
|---|---|---|
| src | ||
| tests | ||
| .HEADER | ||
| .gitignore | ||
| CMakeLists.txt | ||
| CONVENTIONS | ||
| COPYING | ||
| README.md | ||
| api.doxygen | ||
| git.git-authors | ||
| libgit2.pc.in | ||
| waf | ||
| wscript |
The new `git_filebuf` structure provides atomic high-performance writes to disk by using a write cache, and optionally a double-buffered scheme through a worker thread (not enabled yet). Writes can be done 3-layered, like in git.git (user code -> write cache -> disk), or 2-layered, by writing directly on the cache. This makes index writing considerably faster. The `git_filebuf` structure contains all the old functionality of `git_filelock` for atomic file writes and reads. The `git_filelock` structure has been removed. Additionally, the `git_filebuf` API allows to automatically hash (SHA1) all the data as it is written to disk (hashing is done smartly on big chunks to improve performance). Signed-off-by: Vicent Marti <tanoku@gmail.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| src | Loading commit data... | |
| tests | Loading commit data... | |
| .HEADER | Loading commit data... | |
| .gitignore | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CONVENTIONS | Loading commit data... | |
| COPYING | Loading commit data... | |
| README.md | Loading commit data... | |
| api.doxygen | Loading commit data... | |
| git.git-authors | Loading commit data... | |
| libgit2.pc.in | Loading commit data... | |
| waf | Loading commit data... | |
| wscript | Loading commit data... |