Logo Search packages:      
Sourcecode: xd version File versions  Download package

addignored.cc

#include "alternatives.ih"


void Alternatives::addIgnored(string const &line, std::set<string> &ignoreSet)
{
    istringstream in(line);
    string path;
    in >> path >> path;         // skip ignore, extract path

    if (*path.rbegin() == '/')  // keep the final * if it's there
        path.resize(path.length() - 1);

    msg() << "ignoring " << path << info;

    ignoreSet.insert(path);
}

Generated by  Doxygen 1.6.0   Back to index