mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
fixup: sync -> flush
The latter is not used for memory synchronization things.
This commit is contained in:
parent
97ff2ed455
commit
fb8d3ed150
5 changed files with 14 additions and 5 deletions
|
@ -7,12 +7,16 @@ namespace nix {
|
|||
|
||||
namespace fetchers { struct PublicKey; }
|
||||
|
||||
/**
|
||||
* A sink that writes into a Git repository. Note that nothing may be written
|
||||
* until `flush()` is called.
|
||||
*/
|
||||
struct GitFileSystemObjectSink : ExtendedFileSystemObjectSink
|
||||
{
|
||||
/**
|
||||
* Flush builder and return a final Git hash.
|
||||
*/
|
||||
virtual Hash sync() = 0;
|
||||
virtual Hash flush() = 0;
|
||||
};
|
||||
|
||||
struct GitRepo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue