diff options
author | eldritch horrors <pennae@lix.systems> | 2024-05-22 18:26:01 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-05-22 18:26:01 +0200 |
commit | 47523944c5f13250dd0eb9d56d5c6621f4722bea (patch) | |
tree | 601aa32dd44b191bcc4b8023a53ba18fb8d44b4c /src/libutil/archive.cc | |
parent | 20981461d4a2a62c68f4bc7c4258473f7cd7d8e1 (diff) |
libstore: remove unused copyPath function
Change-Id: Ibfb0848d8b337bd38947a745c240838865cea401
Diffstat (limited to 'src/libutil/archive.cc')
-rw-r--r-- | src/libutil/archive.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libutil/archive.cc b/src/libutil/archive.cc index 00536c1e1..a18c54ebf 100644 --- a/src/libutil/archive.cc +++ b/src/libutil/archive.cc @@ -389,13 +389,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); -} - - } |