Example usage for org.eclipse.jgit.internal.storage.dfs DfsRepositoryDescription DfsRepositoryDescription

List of usage examples for org.eclipse.jgit.internal.storage.dfs DfsRepositoryDescription DfsRepositoryDescription

Introduction

In this page you can find the example usage for org.eclipse.jgit.internal.storage.dfs DfsRepositoryDescription DfsRepositoryDescription.

Prototype

public DfsRepositoryDescription() 

Source Link

Document

Initialize a new, empty repository description.

Usage

From source file:com.bacoder.scmtools.git.internal.CloneAndProcessCommand.java

License:Apache License

@Override
protected Repository init(URIish u) throws GitAPIException {
    if (isInMemory()) {
        return new InMemoryRepository(new DfsRepositoryDescription());
    } else {//from   w  w  w.j a  v  a 2  s . co m
        return super.init(u);
    }
}

From source file:com.benhumphreys.jgitcassandra.store.DescMapperTest.java

License:Apache License

@Before
public void setUp() throws Exception {
    desc = new DfsPackDescription(new DfsRepositoryDescription(), DESC_NAME);
}