mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Split tarball-specific logic from GitFileSystemObjectSink
This commit is contained in:
parent
5e83c0427f
commit
e0012b97ab
5 changed files with 37 additions and 20 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 = sink->sync();
|
||||
auto result = repo->dereferenceSingletonDirectory(sink->sync());
|
||||
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