mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Revert "Use shared pointers in the memory source accessor"
This is no longer necessary.
This reverts commit 4df60e639b.
This commit is contained in:
parent
c4c92c4c61
commit
5915fe3190
3 changed files with 15 additions and 23 deletions
|
|
@ -233,30 +233,30 @@ TEST_F(GitTest, both_roundrip)
|
|||
.contents{
|
||||
{
|
||||
"foo",
|
||||
make_ref<File>(File::Regular{
|
||||
File::Regular{
|
||||
.contents = "hello\n\0\n\tworld!",
|
||||
}),
|
||||
},
|
||||
},
|
||||
{
|
||||
"bar",
|
||||
make_ref<File>(File::Directory{
|
||||
File::Directory{
|
||||
.contents =
|
||||
{
|
||||
{
|
||||
"baz",
|
||||
make_ref<File>(File::Regular{
|
||||
File::Regular{
|
||||
.executable = true,
|
||||
.contents = "good day,\n\0\n\tworld!",
|
||||
}),
|
||||
},
|
||||
},
|
||||
{
|
||||
"quux",
|
||||
make_ref<File>(File::Symlink{
|
||||
File::Symlink{
|
||||
.target = "/over/there",
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue