aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tarball.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-23 12:58:11 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-23 12:58:27 -0500
commit4540e7b940ca56db821fe7c7d7d79fafa488f55e (patch)
treedf688d2ea13f20f9225f08f90d9c327bf301d4ca /src/libfetchers/tarball.cc
parentc67e0cc58c5a74121d74a3f5cf9f9c2199a87093 (diff)
Don't add `StorePathDescriptor` for now
We don't need it yet, we can add it back later.
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r--src/libfetchers/tarball.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc
index 155b86cc4..302046610 100644
--- a/src/libfetchers/tarball.cc
+++ b/src/libfetchers/tarball.cc
@@ -72,15 +72,13 @@ DownloadFileResult downloadFile(
auto hash = hashString(htSHA256, res.data);
ValidPathInfo info {
*store,
- {
- .name = name,
- .info = FixedOutputInfo {
- {
- .method = FileIngestionMethod::Flat,
- .hash = hash,
- },
- .references = {},
+ name,
+ FixedOutputInfo {
+ {
+ .method = FileIngestionMethod::Flat,
+ .hash = hash,
},
+ .references = {},
},
hashString(htSHA256, sink.s),
};