Skip to content

How to map multiple patterns in mapsubtrees? #74

@singularitti

Description

@singularitti

Suppose I have a FileTree and two patterns: *.in for input files and *.out for output files. Usually, in the same folder, there will be two files: a *.in paired with a *.out. How can I match them at once in mapsubtrees? Like the following syntax:

mapsubtrees(tree, ("*.in", "*.out")) do (subtree1, subtree2)
    path(subtree1) => path(subtree2)
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions