isGitHubCompatible static method

bool isGitHubCompatible(
  1. RepositoryProvider? provider
)

Whether the provider follows the GitHub URL conventions.

Implementation

static bool isGitHubCompatible(RepositoryProvider? provider) =>
    provider == github || provider == gitlab;