def exportValue(self, vf, value):
        m = StrStrHashMap(value)
        keysAndValues = []
        for i in m.keys():
            keysAndValues.append(i)
            keysAndValues.append(m[i])
def _roots(kindpats):
    """Returns root directories to match recursively from the given patterns."""
    roots, dirs = _patternrootsanddirs(kindpats)
    return roots