Line data Source code
1 : /*! 2 : * \file esys/repo/git/sshbackend_git.cpp 3 : * \brief 4 : * 5 : * \cond 6 : * __legal_b__ 7 : * 8 : * Copyright (c) 2020-2026 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/git/sshbackend.h" 20 : 21 : namespace std 22 : { 23 : 24 0 : ESYSREPO_API ostream &operator<<(ostream &os, esys::repo::git::SshBackend backend) 25 : { 26 0 : switch (backend) 27 : { 28 0 : case esys::repo::git::SshBackend::LibSSH2: os << "LibSSH2"; break; 29 0 : case esys::repo::git::SshBackend::Exec: os << "Exec"; break; 30 0 : default: os << "<unknown>"; 31 : } 32 0 : return os; 33 : } 34 : 35 : } // namespace std