~thopiekar/zypper/libzypp-manual-import

« back to all changes in this revision

Viewing changes to zypp/base/String.cc

  • Committer: Thomas-Karl Pietrowski
  • Date: 2015-08-15 15:59:50 UTC
  • Revision ID: thopiekar@googlemail.com-20150815155950-j66qn38efmvn289t
syncing with "changes 15.13.0 (11)"  #9a0aca7e3a21d768491b141a8ae86ef0c3fbc227
* https://github.com/openSUSE/libzypp/commit/9a0aca7e3a21d768491b141a8ae86ef0c3fbc227

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include "zypp/base/String.h"
18
18
#include "zypp/base/LogTools.h"
19
19
 
 
20
#include "zypp/TriBool.h"
 
21
 
20
22
using std::string;
21
23
 
22
24
///////////////////////////////////////////////////////////////////
86
88
               );
87
89
    }
88
90
 
 
91
    TriBool strToTriBool( const C_Str & str )   // from TriBool.h
 
92
    {
 
93
      if ( strToTrue( str ) )   return true;
 
94
      if ( !strToFalse( str ) ) return false;
 
95
      return indeterminate;
 
96
    }
 
97
 
89
98
    ///////////////////////////////////////////////////////////////////
90
99
    // Hexencode
91
100
    ///////////////////////////////////////////////////////////////////