-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add subsystem interfaces #326
Conversation
@@ -79,7 +79,7 @@ Remove a component from a subsystem. | |||
|
|||
Throws ArgumentError if the subsystem name or component is not stored. | |||
""" | |||
function remove_subsystem_component!( | |||
function remove_component_from_subsystem!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be symmetric with add_component_to_subsystem!
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #326 +/- ##
==========================================
+ Coverage 79.56% 79.59% +0.03%
==========================================
Files 53 53
Lines 4218 4230 +12
==========================================
+ Hits 3356 3367 +11
- Misses 862 863 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
""" | ||
Return true if the component is assigned to any subsystems. | ||
""" | ||
function is_assigned_to_subsystem( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function is_assigned_to_subsystem( | |
function is_assigned_to_a_subsystem( |
or
function is_assigned_to_subsystem( | |
function is_assigned_subsystems( |
Otherwise it could be confused with the query to wether something is attach to a specific subsystem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor suggestions
No description provided.