mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
libstore: remove unused copyPath function
Source: 47523944c5
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
parent
5cfa75ea16
commit
2de4589e46
2 changed files with 0 additions and 11 deletions
|
@ -315,13 +315,4 @@ void copyNAR(Source & source, Sink & sink)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void copyPath(const Path & from, const Path & to)
|
|
||||||
{
|
|
||||||
auto source = sinkToSource([&](Sink & sink) {
|
|
||||||
dumpPath(from, sink);
|
|
||||||
});
|
|
||||||
restorePath(to, *source);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,8 +82,6 @@ void restorePath(const Path & path, Source & source);
|
||||||
*/
|
*/
|
||||||
void copyNAR(Source & source, Sink & sink);
|
void copyNAR(Source & source, Sink & sink);
|
||||||
|
|
||||||
void copyPath(const Path & from, const Path & to);
|
|
||||||
|
|
||||||
|
|
||||||
inline constexpr std::string_view narVersionMagic1 = "nix-archive-1";
|
inline constexpr std::string_view narVersionMagic1 = "nix-archive-1";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue