summaryrefslogtreecommitdiff
path: root/src/blob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.h')
-rw-r--r--src/blob.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/blob.h b/src/blob.h
index b873299..24e8c6f 100644
--- a/src/blob.h
+++ b/src/blob.h
@@ -3,6 +3,12 @@
#include "git.h"
#include <file.h>
+#include <git2.h>
+#include <string>
+#include <types.h>
+namespace Ice {
+ struct Current;
+}
namespace GitFS {
using namespace NetFS;
@@ -24,7 +30,8 @@ namespace GitFS {
const Repo * const repo;
Git::TreeEntryPtr entry;
Git::BlobPtr blob;
- const decltype(git_blob_rawsize({})) blobSize;
+ using BlobSize = decltype(git_blob_rawsize({}));
+ const BlobSize blobSize;
const char * const blobContent;
};
}