VCS to Module mapping

In the custom module we had build on IntelliJ 5.x platform, we used to attach module to VCS as AbstractVcs attachModule method. Since the VCS API has changed drastically, and the mapping now is in Directory and VCS.
I have
ProjectLevelVcsManager vcsManager = ProjectLevelVcsManager.getInstance(project);

From this how would the mapping will be done?

Please sign in to leave a comment.