Package | Description |
---|---|
org.eclipse.jgit.api | |
org.eclipse.jgit.dircache | |
org.eclipse.jgit.lib | |
org.eclipse.jgit.storage.file | |
org.eclipse.jgit.transport | |
org.eclipse.jgit.treewalk | |
org.eclipse.jgit.util |
Modifier and Type | Method and Description |
---|---|
static Git |
Git.open(java.io.File dir,
FS fs) |
Modifier and Type | Method and Description |
---|---|
static DirCache |
DirCache.lock(java.io.File indexLocation,
FS fs)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.lock(java.io.File indexLocation,
FS fs,
IndexChangedListener indexChangedListener)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.read(java.io.File indexLocation,
FS fs)
Create a new in-core index representation and read an index from disk.
|
Constructor and Description |
---|
DirCache(java.io.File indexLocation,
FS fs)
Create a new in-core index representation.
|
Modifier and Type | Method and Description |
---|---|
FS |
BaseRepositoryBuilder.getFS() |
FS |
Repository.getFS() |
protected FS |
BaseRepositoryBuilder.safeFS() |
Modifier and Type | Method and Description |
---|---|
static RepositoryCache.FileKey |
RepositoryCache.FileKey.exact(java.io.File directory,
FS fs)
Obtain a pointer to an exact location on disk.
|
static boolean |
RepositoryCache.FileKey.isGitRepository(java.io.File dir,
FS fs)
Guess if a directory contains a Git repository.
|
static RepositoryCache.FileKey |
RepositoryCache.FileKey.lenient(java.io.File directory,
FS fs)
Obtain a pointer to a location on disk.
|
static java.io.File |
RepositoryCache.FileKey.resolve(java.io.File directory,
FS fs)
Guess the proper path for a Git repository.
|
B |
BaseRepositoryBuilder.setFS(FS fs)
Set the file system abstraction needed by this repository.
|
Constructor and Description |
---|
RepositoryCache.FileKey(java.io.File directory,
FS fs) |
Constructor and Description |
---|
FileBasedConfig(Config base,
java.io.File cfgLocation,
FS fs)
The constructor
|
FileBasedConfig(java.io.File cfgLocation,
FS fs)
Create a configuration with no default fallback.
|
LockFile(java.io.File f,
FS fs)
Create a new lock for any file.
|
ObjectDirectory(Config cfg,
java.io.File dir,
java.io.File[] alternatePaths,
FS fs)
Initialize a reference to an on-disk object directory.
|
PackLock(java.io.File packFile,
FS fs)
Create a new lock for a pack file.
|
Modifier and Type | Method and Description |
---|---|
protected com.jcraft.jsch.JSch |
JschConfigSessionFactory.createDefaultJSch(FS fs) |
protected com.jcraft.jsch.Session |
JschConfigSessionFactory.createSession(OpenSshConfig.Host hc,
java.lang.String user,
java.lang.String host,
int port,
FS fs)
Create a new remote session for the requested address.
|
static OpenSshConfig |
OpenSshConfig.get(FS fs)
Obtain the user's configuration data.
|
protected com.jcraft.jsch.JSch |
JschConfigSessionFactory.getJSch(OpenSshConfig.Host hc,
FS fs)
Obtain the JSch used to create new sessions.
|
RemoteSession |
JschConfigSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) a session to a host.
|
Modifier and Type | Field and Description |
---|---|
protected FS |
FileTreeIterator.fs
the file system abstraction which will be necessary to perform certain
file system operations.
|
Constructor and Description |
---|
FileTreeIterator(java.io.File root,
FS fs,
WorkingTreeOptions options)
Create a new iterator to traverse the given directory and its children.
|
FileTreeIterator(FileTreeIterator p,
java.io.File root,
FS fs)
Create a new iterator to traverse a subdirectory.
|
Modifier and Type | Field and Description |
---|---|
static FS |
FS.DETECTED
The auto-detected implementation selected for this operating system and JRE.
|
Modifier and Type | Method and Description |
---|---|
static FS |
FS.detect()
Auto-detect the appropriate file system abstraction.
|
static FS |
FS.detect(java.lang.Boolean cygwinUsed)
Auto-detect the appropriate file system abstraction, taking into account
the presence of a Cygwin installation on the system.
|
abstract FS |
FS.newInstance() |
FS |
FS.setGitPrefix(java.io.File path)
Set the $prefix directory C Git uses.
|
FS |
FS.setUserHome(java.io.File path)
Set the user's home directory location.
|
Modifier and Type | Method and Description |
---|---|
abstract FileBasedConfig |
SystemReader.openSystemConfig(Config parent,
FS fs) |
abstract FileBasedConfig |
SystemReader.openUserConfig(Config parent,
FS fs) |
Constructor and Description |
---|
FS(FS src)
Initialize this FS using another's current settings.
|
Copyright © 2012. All Rights Reserved.