A "universal" / normalized API wrapper for git hosting services.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
415 B

  1. package me.jfenn.gitrest.util
  2. import me.jfenn.gitrest.model.ProviderString
  3. /**
  4. * Provides a set of "default" hardcoded provider/context mappings.
  5. *
  6. * Should be trusted only as fallback behavior if no other information
  7. * is provided.
  8. */
  9. val DEFAULT_PROVIDERS = arrayOf(
  10. ProviderString("github", "api.github.com"),
  11. ProviderString("gitlab", "gitlab.com"),
  12. ProviderString("gitea", "codeberg.org")
  13. )