# Functions
FindSourceRepository returns a SourceRepository for the given namespace, owner, repo name, and (optional) provider name.
FindSourceRepositoryWithoutProvider returns a SourceRepository for the given namespace, owner and repo name.
GetOrCreateSourceRepository gets or creates the SourceRepository for the given repository name and organisation.
GetOrCreateSourceRepositoryCallback gets or creates the SourceRepository for the given repository name and organisation invoking the given callback to modify the resource before create/udpate.
GetRepositoryGitURL returns the git repository clone URL.
IsIncludedInTheGivenEnvs returns true if the given repository is an environment repository.
IsRemoteEnvironmentRepository returns true if the given repository is a remote environment.
ToProviderName takes the git URL and converts it to a provider name which can be used as a label selector.