The current approach expects the caller to do this:
project.PersistenceSettings.GetType() != "VersionControlled"
Reference:
|
if project.PersistenceSettings != nil && project.PersistenceSettings.GetType() == "VersionControlled" { |
It would be nice if there was a cleaner way to detect a version-controlled project other than comparing with this magic string