Example #1
0
def CompatibleWithYcmCore():
    try:
        current_core_version = ycm_client_support.YcmCoreVersion()
    except AttributeError:
        return False

    return current_core_version == COMPATIBLE_WITH_CORE_VERSION
Example #2
0
def CompatibleWithCurrentCoreVersion():
  try:
    current_core_version = ycm_client_support.YcmCoreVersion()
  except AttributeError:
    return False
  return ExpectedCoreVersion() == current_core_version