mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +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
|
@ -77,7 +77,7 @@ TEST_F(GitUtilsTest, sink_basic)
|
|||
|
||||
// sink->createHardlink("foo-1.1/links/foo-2", CanonPath("foo-1.1/hello"));
|
||||
|
||||
auto result = repo->dereferenceSingletonDirectory(sink->sync());
|
||||
auto result = repo->dereferenceSingletonDirectory(sink->flush());
|
||||
auto accessor = repo->getAccessor(result, false);
|
||||
auto entries = accessor->readDirectory(CanonPath::root);
|
||||
ASSERT_EQ(entries.size(), 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue