Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.junit | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.storage.file | |
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
static Git |
Git.open(File dir,
FS fs) |
Modifier and Type | Method and Description |
---|---|
static DirCache |
DirCache.lock(File indexLocation,
FS fs)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.lock(File indexLocation,
FS fs,
IndexChangedListener indexChangedListener)
Create a new in-core index representation, lock it, and read from disk.
|
static DirCache |
DirCache.read(File indexLocation,
FS fs)
Create a new in-core index representation and read an index from disk.
|
Constructor and Description |
---|
DirCache(File indexLocation,
FS fs)
Create a new in-core index representation.
|
Constructor and Description |
---|
LockFile(File f,
FS fs)
Deprecated.
use
LockFile.LockFile(File) instead |
ObjectDirectory(Config cfg,
File dir,
File[] alternatePaths,
FS fs,
File shallowFile)
Initialize a reference to an on-disk object directory.
|
PackLock(File packFile,
FS fs)
Create a new lock for a pack file.
|
Modifier and Type | Method and Description |
---|---|
FileBasedConfig |
MockSystemReader.openSystemConfig(Config parent,
FS fs) |
FileBasedConfig |
MockSystemReader.openUserConfig(Config parent,
FS fs) |
Modifier and Type | Method and Description |
---|---|
FS |
Repository.getFS() |
FS |
BaseRepositoryBuilder.getFS() |
protected FS |
BaseRepositoryBuilder.safeFS() |
Modifier and Type | Method and Description |
---|---|
static RepositoryCache.FileKey |
RepositoryCache.FileKey.exact(File directory,
FS fs)
Obtain a pointer to an exact location on disk.
|
static boolean |
RepositoryCache.FileKey.isGitRepository(File dir,
FS fs)
Guess if a directory contains a Git repository.
|
static RepositoryCache.FileKey |
RepositoryCache.FileKey.lenient(File directory,
FS fs)
Obtain a pointer to a location on disk.
|
static File |
RepositoryCache.FileKey.resolve(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(File directory,
FS fs) |
Constructor and Description |
---|
FileBasedConfig(Config base,
File cfgLocation,
FS fs)
The constructor
|
FileBasedConfig(File cfgLocation,
FS fs)
Create a configuration with no default fallback.
|
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,
String user,
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.
|
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms)
Open (or reuse) a session to a host.
|
RemoteSession |
JschConfigSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
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.FileEntry(File f,
FS fs)
Create a new file entry.
|
FileTreeIterator(File root,
FS fs,
WorkingTreeOptions options)
Create a new iterator to traverse the given directory and its children.
|
FileTreeIterator(WorkingTreeIterator p,
File root,
FS fs)
Create a new iterator to traverse a subdirectory.
|
Modifier and Type | Class and Description |
---|---|
class |
FS_POSIX
Base FS for POSIX based systems
|
class |
FS_Win32
FS implementation for Windows
|
class |
FS_Win32_Cygwin
FS implementation for Cygwin on Windows
|
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(Boolean cygwinUsed)
Auto-detect the appropriate file system abstraction, taking into account
the presence of a Cygwin installation on the system.
|
FS |
FS.FSFactory.detect(Boolean cygwinUsed)
Detect the file system
|
FS |
FS_Win32_Cygwin.newInstance() |
FS |
FS_Win32.newInstance() |
FS |
FS_POSIX.newInstance() |
abstract FS |
FS.newInstance() |
FS |
FS.setGitSystemConfig(File configFile)
Set the path to the system-wide Git configuration file to use.
|
FS |
FS.setUserHome(File path)
Set the user's home directory location.
|
Modifier and Type | Method and Description |
---|---|
static FS.Attributes |
FileUtils.getFileAttributesPosix(FS fs,
File file) |
static FS.Attributes |
FileUtil.getFileAttributesPosix(FS fs,
File path)
Deprecated.
Use
FileUtils.getFileAttributesPosix(FS,File) instead |
abstract FileBasedConfig |
SystemReader.openSystemConfig(Config parent,
FS fs) |
abstract FileBasedConfig |
SystemReader.openUserConfig(Config parent,
FS fs) |
Constructor and Description |
---|
FS_POSIX(FS src)
Constructor
|
FS_Win32_Cygwin(FS src)
Constructor
|
FS_Win32(FS src)
Constructor
|
FS.Attributes(File path,
FS fs)
Constructor when there are issues with reading.
|
FS(FS src)
Initialize this FS using another's current settings.
|
Copyright © 2016 Eclipse JGit Project. All rights reserved.