Uses of Class
org.eclipse.jgit.util.FS
Packages that use FS
Package
Description
High-level API commands (the porcelain of JGit).
Reading and editing the directory cache (index).
File based repository storage.
Core API for repository, config, refs, object database.
Git submodule support.
Transport (fetch/push) for different protocols.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
-
Uses of FS in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api declared as FSMethods in org.eclipse.jgit.api with parameters of type FSModifier and TypeMethodDescriptionstatic Git
Open repositorySet the file system abstraction to be used for repositories created by this command.Set the file system abstraction to be used for repositories created by this command. -
Uses of FS in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache with parameters of type FSModifier and TypeMethodDescriptionstatic DirCache
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
Create a new in-core index representation and read an index from disk.Constructors in org.eclipse.jgit.dircache with parameters of type FS -
Uses of FS in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as FSMethods in org.eclipse.jgit.internal.storage.file that return FSModifier and TypeMethodDescription(package private) FS
CachedObjectDirectory.getFS()
(package private) abstract FS
FileObjectDatabase.getFS()
(package private) FS
ObjectDirectory.getFS()
Constructors in org.eclipse.jgit.internal.storage.file with parameters of type FS -
Uses of FS in org.eclipse.jgit.junit
Methods in org.eclipse.jgit.junit with parameters of type FSModifier and TypeMethodDescriptionMockSystemReader.openJGitConfig
(Config parent, FS fs) MockSystemReader.openSystemConfig
(Config parent, FS fs) Open the gitconfig configuration found in the system-wide "etc" directory.MockSystemReader.openUserConfig
(Config parent, FS fs) Open the git configuration found in the user home.Constructors in org.eclipse.jgit.junit with parameters of type FS -
Uses of FS in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib declared as FSModifier and TypeFieldDescriptionprivate FS
BaseRepositoryBuilder.fs
private final FS
Repository.fs
File abstraction used to resolve paths.private final FS
RepositoryCache.FileKey.fs
Methods in org.eclipse.jgit.lib that return FSModifier and TypeMethodDescriptionBaseRepositoryBuilder.getFS()
Get the file system abstraction, or null if not set.Repository.getFS()
Get the used file system abstraction.protected FS
BaseRepositoryBuilder.safeFS()
Get the configured FS, orDETECTED
.Methods in org.eclipse.jgit.lib with parameters of type FSModifier and TypeMethodDescriptionprivate void
FileModeCache.deleteSymlinkParent
(FS fs, String gitPath, File workingTree) static RepositoryCache.FileKey
Obtain a pointer to an exact location on disk.Config.getPath
(String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value and treat it as a file path, replacing a ~/ prefix by the user's home directory.default Path
TypedConfigGetter.getPath
(Config config, String section, String subsection, String name, FS fs, File resolveAgainst, Path defaultValue) Parse a string value from a gitConfig
and treat it as a file path, replacing a ~/ prefix by the user's home directory.private static File
static boolean
RepositoryCache.FileKey.isGitRepository
(File dir, FS fs) Guess if a directory contains a Git repository.static RepositoryCache.FileKey
Obtain a pointer to a location on disk.static File
Guess the proper path for a Git repository.Set the file system abstraction needed by this repository.Constructors in org.eclipse.jgit.lib with parameters of type FS -
Uses of FS in org.eclipse.jgit.storage.file
Fields in org.eclipse.jgit.storage.file declared as FSConstructors in org.eclipse.jgit.storage.file with parameters of type FSModifierConstructorDescriptionFileBasedConfig
(File cfgLocation, FS fs) Create a configuration with no default fallback.FileBasedConfig
(Config base, File cfgLocation, FS fs) The constructor -
Uses of FS in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule with parameters of type FSModifier and TypeMethodDescriptionstatic Repository
SubmoduleWalk.getSubmoduleRepository
(File parent, String path, FS fs) Get submodule repository at path, using the specified file system abstractionstatic Repository
SubmoduleWalk.getSubmoduleRepository
(File parent, String path, FS fs, BaseRepositoryBuilder<?, ? extends Repository> builder) Get submodule repository at path, using the specified file system abstraction and the specified builder -
Uses of FS in org.eclipse.jgit.transport
Methods in org.eclipse.jgit.transport with parameters of type FSModifier and TypeMethodDescriptionprotected com.jcraft.jsch.JSch
JschConfigSessionFactory.createDefaultJSch
(FS fs) Create default instance of jsch(package private) com.jcraft.jsch.Session
JschConfigSessionFactory.createSession
(CredentialsProvider credentialsProvider, FS fs, String user, String pass, String host, int port, OpenSshConfig.Host hc) 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
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.JschConfigSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.abstract RemoteSession
SshSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.private static void
JschConfigSessionFactory.identities
(com.jcraft.jsch.JSch sch, FS fs) private static void
JschConfigSessionFactory.knownHosts
(com.jcraft.jsch.JSch sch, FS fs) -
Uses of FS in org.eclipse.jgit.transport.sshd
Methods in org.eclipse.jgit.transport.sshd with parameters of type FSModifier and TypeMethodDescriptionSshdSessionFactory.getSession
(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) -
Uses of FS in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as FSModifier and TypeFieldDescriptionprivate FS
FileTreeIterator.FileEntry.fs
protected final FS
FileTreeIterator.fs
the file system abstraction which will be necessary to perform certain file system operations.Constructors in org.eclipse.jgit.treewalk with parameters of type FSModifierConstructorDescriptionCreate a new file entry.FileEntry
(File f, FS fs, FileTreeIterator.FileModeStrategy fileModeStrategy) Create a new file entry given the specified FileModeStrategyFileEntry
(File f, FS fs, FS.Attributes attributes, FileTreeIterator.FileModeStrategy fileModeStrategy) Create a new file entry given the specified FileModeStrategyFileTreeIterator
(File root, FS fs, WorkingTreeOptions options) Create a new iterator to traverse the given directory and its children.FileTreeIterator
(File root, FS fs, WorkingTreeOptions options, FileTreeIterator.FileModeStrategy fileModeStrategy) Create a new iterator to traverse the given directory and its children.protected
FileTreeIterator
(FileTreeIterator p, File root, FS fs) Create a new iterator to traverse a subdirectory.protected
FileTreeIterator
(WorkingTreeIterator p, File root, FS fs, FileTreeIterator.FileModeStrategy fileModeStrategy) Create a new iterator to traverse a subdirectory, given the specified FileModeStrategy. -
Uses of FS in org.eclipse.jgit.util
Subclasses of FS in org.eclipse.jgit.utilModifier and TypeClassDescriptionclass
Base FS for POSIX based systemsclass
FS implementation for Windowsclass
FS implementation for Cygwin on WindowsFields in org.eclipse.jgit.util declared as FSModifier and TypeFieldDescriptionstatic final FS
FS.DETECTED
The auto-detected implementation selected for this operating system and JRE.(package private) final FS
FS.Attributes.fs
Methods in org.eclipse.jgit.util that return FSModifier and TypeMethodDescriptionstatic FS
FS.detect()
Auto-detect the appropriate file system abstraction.static FS
Auto-detect the appropriate file system abstraction, taking into account the presence of a Cygwin installation on the system.Detect the file systemFS_POSIX.newInstance()
Create a new instance of the same type of FS.FS_Win32_Cygwin.newInstance()
Create a new instance of the same type of FS.FS_Win32.newInstance()
Create a new instance of the same type of FS.abstract FS
FS.newInstance()
Create a new instance of the same type of FS.FS.setGitSystemConfig
(File configFile) Set the path to the system-wide Git configuration file to use.FS.setUserHome
(File path) Set the user's home directory location.Methods in org.eclipse.jgit.util with parameters of type FSModifier and TypeMethodDescription(package private) static FS.Attributes
FileUtils.getFileAttributesBasic
(FS fs, File file) static FS.Attributes
FileUtils.getFileAttributesPosix
(FS fs, File file) Get file system attributes for the given file.private Path
SystemReader.Default.getXDGConfigHome
(FS fs) SystemReader.Default.openJGitConfig
(Config parent, FS fs) abstract FileBasedConfig
SystemReader.openJGitConfig
(Config parent, FS fs) Open the jgit configuration located at $XDG_CONFIG_HOME/jgit/config.SystemReader.Default.openSystemConfig
(Config parent, FS fs) abstract FileBasedConfig
SystemReader.openSystemConfig
(Config parent, FS fs) Open the gitconfig configuration found in the system-wide "etc" directory.SystemReader.Default.openUserConfig
(Config parent, FS fs) abstract FileBasedConfig
SystemReader.openUserConfig
(Config parent, FS fs) Open the git configuration found in the user home.static String
SshSupport.runSshCommand
(URIish sshUri, CredentialsProvider provider, FS fs, String command, int timeout) Utility to execute a remote SSH command and read the first line of output.Constructors in org.eclipse.jgit.util with parameters of type FSModifierConstructorDescriptionAttributes
(File path, FS fs) Constructor when there are issues with reading.(package private)
Attributes
(FS fs, File file, boolean exists, boolean isDirectory, boolean isExecutable, boolean isSymbolicLink, boolean isRegularFile, long creationTime, Instant lastModifiedInstant, long length) protected
Initialize this FS using another's current settings.protected
Constructorprotected
Constructorprotected
FS_Win32_Cygwin
(FS src) Constructor