save-to-library call : check for collision
-
toYaml should be absorbed into a function call that saves the component to the library without needing to know rocolib internals -
Checks for Component name collisions before doing so
from code comment:
# if collision:
# flag to allow rebuilding, and fail otherwise?
# if no flag, check if source matches and rebuild if so, fail otherwise?