src/utils/file.cpp
/**
   * Picks the first existing file out of given entries
   */
Picks the first existing file out of given entries
Picks the first existing file out of given entries
string pick(const vector<string>& filenames) {
    for (auto&& f : filenames) {
      if (exists(f)) {
        return f;
      }
    }
    return "";
  }
string pick ( const vector < string > & filenames ) { for ( auto && f : filenames ) { if ( exists ( f ) ) { return f ; } } return " " ; }
Picks the first existing file out of given entries
Picks the first existing file out of given entries