aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/fs-accessor.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-07 19:54:34 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-04-07 19:54:34 -0400
commit3ebd66c00ee460b3bd2bc07c97b24510cfb6095b (patch)
tree7b495faa5bf5717791531e0d52c5481120542f6c /src/libstore/fs-accessor.hh
parent38ae7c289116c404393ded8b6eec49323f54920c (diff)
parent4411c7d7e0242c9f9f8ae3f4d0473c53df12edfb (diff)
Merge remote-tracking branch 'upstream/master' into trustless-remote-builder-simple
Diffstat (limited to 'src/libstore/fs-accessor.hh')
-rw-r--r--src/libstore/fs-accessor.hh17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/libstore/fs-accessor.hh b/src/libstore/fs-accessor.hh
index 1c98a42d7..1df19e647 100644
--- a/src/libstore/fs-accessor.hh
+++ b/src/libstore/fs-accessor.hh
@@ -5,8 +5,10 @@
namespace nix {
-/* An abstract class for accessing a filesystem-like structure, such
- as a (possibly remote) Nix store or the contents of a NAR file. */
+/**
+ * An abstract class for accessing a filesystem-like structure, such
+ * as a (possibly remote) Nix store or the contents of a NAR file.
+ */
class FSAccessor
{
public:
@@ -15,8 +17,17 @@ public:
struct Stat
{
Type type = tMissing;
- uint64_t fileSize = 0; // regular files only
+ /**
+ * regular files only
+ */
+ uint64_t fileSize = 0;
+ /**
+ * regular files only
+ */
bool isExecutable = false; // regular files only
+ /**
+ * regular files only
+ */
uint64_t narOffset = 0; // regular files only
};