diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/git.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -28,15 +28,6 @@ namespace GitFS::Git { return TPtr<R>(r, release); } - template<typename E, typename R, typename... P, typename... A> - auto - gitSafeGet(int (*get)(R **, P...), A... p) - { - R * r = nullptr; - gitSafe<E>(get, &r, p...); - return r; - } - git_oid OidParse(const std::string_view & str); using RepositoryPtr = decltype(gitSafeGet<std::exception>(git_repository_open_bare, git_repository_free, nullptr)); |