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

AssertValidTfsPath() public static method

public static AssertValidTfsPath ( this tfsPath ) : void
tfsPath this
return void
        public static void AssertValidTfsPath(this string tfsPath)
        {
            if (!ValidTfsPath.IsMatch(tfsPath))
                throw new GitTfsException("TFS repository can not be root and must start with \"$/\".", SuggestPaths(tfsPath));
        }