public string TryConvertRepoTagToTag()

in tool/TeamCity.Docker/DockerConverter.cs [12:26]


        public string TryConvertRepoTagToTag(string repoTag)
        {
            if (repoTag == null)
            {
                throw new ArgumentNullException(nameof(repoTag));
            }

            var ind = repoTag.IndexOf(":", StringComparison.Ordinal);
            if (ind > 2)
            {
                return repoTag.Substring(ind + 1);
            }

            return null;
        }