Codebase list xd / upstream/3.10.2 alternatives / generalizedglob.cc
upstream/3.10.2

Tree @upstream/3.10.2 (Download .tar.gz)

generalizedglob.cc @upstream/3.10.2raw · history · blame

#include "alternatives.ih"

void Alternatives::generalizedGlob(string initial, GlobContext &context)
{
        // create the command consisting of all cmd line args
    string searchCmd = d_command.accumulate();
    searchCmd.resize(searchCmd.length() - 1);           // remove trailing /


    msg() << "Merged search command: `" << searchCmd << '\'' << info;

    globHead(initial, searchCmd, context);
}