Line data Source code
1 : /*! 2 : * \file esys/repo/libgit2/guardprint_libgit2.h 3 : * \brief 4 : * 5 : * \cond 6 : * __legal_b__ 7 : * 8 : * Copyright (c) 2023 Michel Gillet 9 : * Distributed under the MIT License. 10 : * (See accompanying file LICENSE.txt or 11 : * copy at https://opensource.org/licenses/MIT) 12 : * 13 : * __legal_e__ 14 : * \endcond 15 : * 16 : */ 17 : 18 : #include "esys/repo/esysrepo_prec.h" 19 : #include "esys/repo/libgit2/guard.h" 20 : #include "esys/repo/libgit2/guardprint.h" 21 : #include "esys/repo/libgit2/ostream.h" 22 : 23 : namespace esys::repo::libgit2 24 : { 25 : 26 : template<> 27 0 : ESYSREPO_API void guard_print<git_remote>(std::ostream &os, const Guard<git_remote> &object) 28 : { 29 0 : os << object.get(); 30 0 : } 31 : 32 : } // namespace esys::repo::libgit2