Package org.locationtech.geogig.api.porcelain.ResetOp

Examples of org.locationtech.geogig.api.porcelain.ResetOp.ResetMode


     */
    @Override
    public void runInternal(GeogigCLI cli) {
        final GeoGIG geogig = cli.getGeogig();

        ResetMode mode = resolveResetMode();

        ResetOp reset = cli.getGeogig().command(ResetOp.class);
        try {
            for (int i = 0; args != null && i < args.size(); i++) {
                reset.addPattern(args.get(i));
View Full Code Here


        }

    }

    private ResetMode resolveResetMode() {
        ResetMode mode = ResetMode.NONE;
        if (hard) {
            mode = ResetMode.HARD;
        }
        if (mixed) {
            if (mode != ResetMode.NONE) {
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.api.porcelain.ResetOp.ResetMode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.