Package org.locationtech.geogig.api.plumbing

Examples of org.locationtech.geogig.api.plumbing.SendPack


        return pull;
    }

    protected PushOp push() {
        SendPack sendPack = spy(localGeogig.geogig.command(SendPack.class));
        doReturn(Optional.of(remoteRepo)).when(sendPack).getRemoteRepo(any(Remote.class));

        PushOp push = spy(localGeogig.geogig.command(PushOp.class));
        doReturn(sendPack).when(push).command(eq(SendPack.class));
View Full Code Here


        final Remote remote = resolveRemote(remoteName);

        final List<TransferableRef> refsToPush = resolveRefs();

        SendPack sendPack = command(SendPack.class);
        sendPack.setRemote(remote);
        sendPack.setRefs(refsToPush);
        sendPack.setProgressListener(getProgressListener());
        TransferSummary result = sendPack.call();
        return result;
    }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.api.plumbing.SendPack

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.