def __init__(self, path):
        self.path = path
        self.body_labels = collections.OrderedDict()
def _roots(kindpats):
    """Returns root directories to match recursively from the given patterns."""
    roots, dirs = _patternrootsanddirs(kindpats)
    return roots