Sep.Git.Tfs.Commands.Ext.SuggestPaths C# (CSharp) Method

SuggestPaths() private static method

private static SuggestPaths ( string tfsPath ) : IEnumerable
tfsPath string
return IEnumerable
        private static IEnumerable<string> SuggestPaths(string tfsPath)
        {
            if (tfsPath == "$" || tfsPath == "$/")
                yield return "Cloning an entire TFS repository is not supported. Try using a subdirectory of the root (e.g. $/MyProject).";
            else if (tfsPath.StartsWith("$"))
                yield return "Try using $/" + tfsPath.Substring(1);
            else
                yield return "Try using $/" + tfsPath;
        }