edaa-org / pyEDAA.ProjectModel

An abstract model of EDA tool projects.
https://edaa-org.github.io/pyEDAA.ProjectModel
Other
10 stars 1 forks source link

How to get files from Project, Design and Fileset #61

Open RasmusGOlsen opened 9 months ago

RasmusGOlsen commented 9 months ago

The Files method in Project, Design, and Fileset will return the files recursively. It might make sense for Project and Design, but for FileSet I would like to have the option only to get the files from the current fileset and not its children. I would suggest an argument to the Files method to support this.

Paebbels commented 9 months ago

Sounds good.

I'll check with other places (I had a similar question already a similar data model). Either it will be an option to control the recursion (just current level vs. all levels) or a different method (then of cause thinking about the question is Files is the recursive variant or the flat variant).