summaryrefslogtreecommitdiff
path: root/src/git.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/git.h')
-rw-r--r--src/git.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/git.h b/src/git.h
index c0ae4e3..9107f8b 100644
--- a/src/git.h
+++ b/src/git.h
@@ -23,6 +23,8 @@ namespace GitFS {
}
}
+ [[noreturn]] void ErrorToSystemError(const Error & e);
+
template<typename T>
using TPtr = std::shared_ptr<T>;
@@ -83,6 +85,13 @@ namespace GitFS {
}
}
+namespace NetFS {
+ struct Attr;
+ Attr & operator<<(Attr &, const git_tree_entry &);
+ Attr & operator<<(Attr &, const git_commit &);
+ Attr & operator<<(Attr &, const git_blob &);
+}
+
namespace std {
std::ostream & operator<<(std::ostream &, const git_oid &);
}