App.get_libname(): Don't use get_proj_refs() #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260608-app-get-libname-don-t-use-get-proj-refs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
App.__get_project_refs(): Code beautification
In __get_project_refs():
Rename variable dep and deps to val and vals, respectively, because that's more what they are values of key-value pairs. In some cases that can represent dependencies, in some case other things.
Make a scope case distinction a little clearer by mentioning all possible cases in a match / case block
App.get_libname(): Don't use get_proj_refs()
App.get_projects_refs() is a versatile tool, but what it does isn't obvious. Use the simpler method .get_value() instead for get_libname(), and return None if a project doesn't provide a linkable library.
This is similar to fix
aadcdfb5f.