diff options
Diffstat (limited to 'src/blob.h')
-rw-r--r-- | src/blob.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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; }; } |