about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/nar-info.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libstore/nar-info.hh')
-rw-r--r--third_party/nix/src/libstore/nar-info.hh25
1 files changed, 12 insertions, 13 deletions
diff --git a/third_party/nix/src/libstore/nar-info.hh b/third_party/nix/src/libstore/nar-info.hh
index 4995061fbb6d..ce362e703f99 100644
--- a/third_party/nix/src/libstore/nar-info.hh
+++ b/third_party/nix/src/libstore/nar-info.hh
@@ -1,24 +1,23 @@
 #pragma once
 
-#include "types.hh"
 #include "hash.hh"
 #include "store-api.hh"
+#include "types.hh"
 
 namespace nix {
 
-struct NarInfo : ValidPathInfo
-{
-    std::string url;
-    std::string compression;
-    Hash fileHash;
-    uint64_t fileSize = 0;
-    std::string system;
+struct NarInfo : ValidPathInfo {
+  std::string url;
+  std::string compression;
+  Hash fileHash;
+  uint64_t fileSize = 0;
+  std::string system;
 
-    NarInfo() { }
-    NarInfo(const ValidPathInfo & info) : ValidPathInfo(info) { }
-    NarInfo(const Store & store, const std::string & s, const std::string & whence);
+  NarInfo() {}
+  NarInfo(const ValidPathInfo& info) : ValidPathInfo(info) {}
+  NarInfo(const Store& store, const std::string& s, const std::string& whence);
 
-    std::string to_string() const;
+  std::string to_string() const;
 };
 
-}
+}  // namespace nix