示例#1
0
        public Command GetQueryPrunedBranchesCommand(PruneRemoteParameters parameters)
        {
            Assert.IsNotNull(parameters);

            return new RemoteCommand(
                RemoteCommand.Prune(),
                RemoteCommand.DryRun(),
                new CommandParameter(parameters.RemoteName));
        }
示例#2
0
        public Command GetPruneRemoteCommand(PruneRemoteParameters parameters)
        {
            Assert.IsNotNull(parameters);

            return new RemoteCommand(
                RemoteCommand.Prune(),
                new CommandParameter(parameters.RemoteName));
        }