1 /*
2 * Copyright (C) 2009, Constantine Plotnikov <constantine.plotnikov@gmail.com>
3 * Copyright (C) 2008, Google Inc.
4 * Copyright (C) 2008, Robin Rosenberg <robin.rosenberg@dewire.com>
5 * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> and others
6 *
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Distribution License v. 1.0 which is available at
9 * https://www.eclipse.org/org/documents/edl-v10.php.
10 *
11 * SPDX-License-Identifier: BSD-3-Clause
12 */
13
14 package org.eclipse.jgit.transport;
15
16 /**
17 * Marker interface for transports that supports fetching from a git bundle
18 * (sneaker-net object transport).
19 * <p>
20 * Push support for a bundle is complex, as one does not have a peer to
21 * communicate with to decide what the peer already knows. So push is not
22 * supported by the bundle transport.
23 */
24 public interface TransportBundle extends PackTransport {
25 /**
26 * Bundle signature
27 */
28 String V2_BUNDLE_SIGNATURE = "# v2 git bundle"; //$NON-NLS-1$
29 }