Package org.locationtech.geogig.api.porcelain

Examples of org.locationtech.geogig.api.porcelain.CheckoutResult


        insertAndAdd(lines3);
        geogig.command(CommitOp.class).setMessage("commit 6").call();

        geogig.command(CheckoutOp.class).setSource("master").call();

        CheckoutResult result = geogig.command(CheckoutOp.class).setSource("branch1")
                .addPath("Lines/Lines.1").call();

        Optional<RevTree> workTree = geogig.command(RevObjectParse.class)
                .setObjectId(result.getNewTree()).call(RevTree.class);

        Optional<NodeRef> nodeRef = geogig.command(FindTreeChild.class).setParent(workTree.get())
                .setChildPath("Points/Points.1").call();
        assertTrue(nodeRef.isPresent());
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.api.porcelain.CheckoutResult

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.