Java org.eclipse.jgit.internal.storage.file FileRepository fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.internal.storage.file FileRepository fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.internal.storage.file FileRepository.

The text is from its open source code.

Subclass

org.eclipse.jgit.internal.storage.file.FileRepository has subclasses.
Click this link to see all its subclasses.

Constructor

FileRepository(File gitDir)
Construct a representation of a Git repository.
FileRepository(String gitDir)
A convenience API for #FileRepository(File) .
FileRepository(BaseRepositoryBuilder options)
Create a repository using the local file system.

Method

voidclose()

Decrement the use count, and maybe close resources.

voidcreate(boolean bare)

Create a new Git repository initializing the necessary files and directories.

FileBasedConfiggetConfig()
FilegetDirectory()
Get local metadata directory
FSgetFS()
Get the used file system abstraction.
ObjectDirectorygetObjectDatabase()
FilegetWorkTree()
Get the root directory of the working tree, where files are checked out for viewing and editing.
ObjectIdresolve(String revstr)
Parse a git revision string and return an object id.