Пример #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));
        }