Uses of Class
org.eclipse.jgit.util.FS
-
Packages that use FS 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.submodule Git submodule support.org.eclipse.jgit.transport Transport (fetch/push) for different protocols.org.eclipse.jgit.transport.sshd org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system).org.eclipse.jgit.util Utility classes. -
-
Uses of FS in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api declared as FS Modifier and Type Field Description private FSCloneCommand. fsprivate FSInitCommand. fsMethods in org.eclipse.jgit.api with parameters of type FS Modifier and Type Method Description static GitGit. open(java.io.File dir, FS fs)Open repositoryCloneCommandCloneCommand. setFs(FS fs)Set the file system abstraction to be used for repositories created by this command.InitCommandInitCommand. setFs(FS fs)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 FS Modifier and Type Method Description static DirCacheDirCache. lock(java.io.File indexLocation, FS fs)Create a new in-core index representation, lock it, and read from disk.static DirCacheDirCache. lock(java.io.File indexLocation, FS fs, IndexChangedListener indexChangedListener)Create a new in-core index representation, lock it, and read from disk.static DirCacheDirCache. read(java.io.File indexLocation, FS fs)Create a new in-core index representation and read an index from disk.Constructors in org.eclipse.jgit.dircache with parameters of type FS Constructor Description DirCache(java.io.File indexLocation, FS fs)Create a new in-core index representation. -
Uses of FS in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as FS Modifier and Type Field Description private FSObjectDirectory. fsMethods in org.eclipse.jgit.internal.storage.file that return FS Modifier and Type Method Description (package private) FSCachedObjectDirectory. getFS()(package private) abstract FSFileObjectDatabase. getFS()(package private) FSObjectDirectory. getFS()Constructors in org.eclipse.jgit.internal.storage.file with parameters of type FS Constructor Description ObjectDirectory(Config cfg, java.io.File dir, java.io.File[] alternatePaths, FS fs, java.io.File shallowFile)Initialize a reference to an on-disk object directory.PackLock(java.io.File packFile, FS fs)Create a new lock for a pack file. -
Uses of FS in org.eclipse.jgit.junit
Methods in org.eclipse.jgit.junit with parameters of type FS Modifier and Type Method Description FileBasedConfigMockSystemReader. openJGitConfig(Config parent, FS fs)FileBasedConfigMockSystemReader. openSystemConfig(Config parent, FS fs)Open the gitconfig configuration found in the system-wide "etc" directory.FileBasedConfigMockSystemReader. 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 Constructor Description MockConfig(java.io.File cfgLocation, FS fs) -
Uses of FS in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib declared as FS Modifier and Type Field Description private FSBaseRepositoryBuilder. fsprivate FSRepository. fsFile abstraction used to resolve paths.private FSRepositoryCache.FileKey. fsMethods in org.eclipse.jgit.lib that return FS Modifier and Type Method Description FSBaseRepositoryBuilder. getFS()Get the file system abstraction, or null if not set.FSRepository. getFS()Get the used file system abstraction.protected FSBaseRepositoryBuilder. safeFS()Get the configured FS, orDETECTED.Methods in org.eclipse.jgit.lib with parameters of type FS Modifier and Type Method Description private voidFileModeCache. deleteSymlinkParent(FS fs, java.lang.String gitPath, java.io.File workingTree)static RepositoryCache.FileKeyRepositoryCache.FileKey. exact(java.io.File directory, FS fs)Obtain a pointer to an exact location on disk.java.nio.file.PathConfig. getPath(java.lang.String section, java.lang.String subsection, java.lang.String name, FS fs, java.io.File resolveAgainst, java.nio.file.Path defaultValue)Parse a string value and treat it as a file path, replacing a ~/ prefix by the user's home directory.default java.nio.file.PathTypedConfigGetter. getPath(Config config, java.lang.String section, java.lang.String subsection, java.lang.String name, FS fs, java.io.File resolveAgainst, java.nio.file.Path defaultValue)Parse a string value from a gitConfigand treat it as a file path, replacing a ~/ prefix by the user's home directory.private static java.io.FileBaseRepositoryBuilder. getSymRef(java.io.File workTree, java.io.File dotGit, FS fs)static booleanRepositoryCache.FileKey. isGitRepository(java.io.File dir, FS fs)Guess if a directory contains a Git repository.static RepositoryCache.FileKeyRepositoryCache.FileKey. lenient(java.io.File directory, FS fs)Obtain a pointer to a location on disk.static java.io.FileRepositoryCache.FileKey. resolve(java.io.File directory, FS fs)Guess the proper path for a Git repository.BBaseRepositoryBuilder. setFS(FS fs)Set the file system abstraction needed by this repository.Constructors in org.eclipse.jgit.lib with parameters of type FS Constructor Description FileKey(java.io.File directory, FS fs) -
Uses of FS in org.eclipse.jgit.storage.file
Fields in org.eclipse.jgit.storage.file declared as FS Modifier and Type Field Description private FSFileBasedConfig. fsConstructors in org.eclipse.jgit.storage.file with parameters of type FS Constructor Description FileBasedConfig(java.io.File cfgLocation, FS fs)Create a configuration with no default fallback.FileBasedConfig(Config base, java.io.File cfgLocation, FS fs)The constructor -
Uses of FS in org.eclipse.jgit.submodule
Methods in org.eclipse.jgit.submodule with parameters of type FS Modifier and Type Method Description static RepositorySubmoduleWalk. getSubmoduleRepository(java.io.File parent, java.lang.String path, FS fs)Get submodule repository at path, using the specified file system abstractionstatic RepositorySubmoduleWalk. getSubmoduleRepository(java.io.File parent, java.lang.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 FS Modifier and Type Method Description protected com.jcraft.jsch.JSchJschConfigSessionFactory. createDefaultJSch(FS fs)Create default instance of jsch(package private) com.jcraft.jsch.SessionJschConfigSessionFactory. createSession(CredentialsProvider credentialsProvider, FS fs, java.lang.String user, java.lang.String pass, java.lang.String host, int port, OpenSshConfig.Host hc)protected com.jcraft.jsch.SessionJschConfigSessionFactory. 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 OpenSshConfigOpenSshConfig. get(FS fs)Obtain the user's configuration data.protected com.jcraft.jsch.JSchJschConfigSessionFactory. getJSch(OpenSshConfig.Host hc, FS fs)Obtain the JSch used to create new sessions.RemoteSessionJschConfigSessionFactory. getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)Opens (or reuses) a session to a host.abstract RemoteSessionSshSessionFactory. getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)Opens (or reuses) a session to a host.private static voidJschConfigSessionFactory. identities(com.jcraft.jsch.JSch sch, FS fs)private static voidJschConfigSessionFactory. 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 FS Modifier and Type Method Description SshdSessionSshdSessionFactory. 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 FS Modifier and Type Field Description private FSFileTreeIterator.FileEntry. fsprotected FSFileTreeIterator. fsthe file system abstraction which will be necessary to perform certain file system operations.Constructors in org.eclipse.jgit.treewalk with parameters of type FS Constructor Description FileEntry(java.io.File f, FS fs)Create a new file entry.FileEntry(java.io.File f, FS fs, FileTreeIterator.FileModeStrategy fileModeStrategy)Create a new file entry given the specified FileModeStrategyFileEntry(java.io.File f, FS fs, FS.Attributes attributes, FileTreeIterator.FileModeStrategy fileModeStrategy)Create a new file entry given the specified FileModeStrategyFileTreeIterator(java.io.File root, FS fs, WorkingTreeOptions options)Create a new iterator to traverse the given directory and its children.FileTreeIterator(java.io.File root, FS fs, WorkingTreeOptions options, FileTreeIterator.FileModeStrategy fileModeStrategy)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.FileTreeIterator(WorkingTreeIterator p, java.io.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.util Modifier and Type Class Description classFS_POSIXBase FS for POSIX based systemsclassFS_Win32FS implementation for WindowsclassFS_Win32_CygwinFS implementation for Cygwin on WindowsFields in org.eclipse.jgit.util declared as FS Modifier and Type Field Description static FSFS. DETECTEDThe auto-detected implementation selected for this operating system and JRE.(package private) FSFS.Attributes. fsMethods in org.eclipse.jgit.util that return FS Modifier and Type Method Description static FSFS. detect()Auto-detect the appropriate file system abstraction.static FSFS. detect(java.lang.Boolean cygwinUsed)Auto-detect the appropriate file system abstraction, taking into account the presence of a Cygwin installation on the system.FSFS.FSFactory. detect(java.lang.Boolean cygwinUsed)Detect the file systemFSFS_POSIX. newInstance()Create a new instance of the same type of FS.FSFS_Win32_Cygwin. newInstance()Create a new instance of the same type of FS.FSFS_Win32. newInstance()Create a new instance of the same type of FS.abstract FSFS. newInstance()Create a new instance of the same type of FS.FSFS. setGitSystemConfig(java.io.File configFile)Set the path to the system-wide Git configuration file to use.FSFS. setUserHome(java.io.File path)Set the user's home directory location.Methods in org.eclipse.jgit.util with parameters of type FS Modifier and Type Method Description (package private) static FS.AttributesFileUtils. getFileAttributesBasic(FS fs, java.io.File file)static FS.AttributesFileUtils. getFileAttributesPosix(FS fs, java.io.File file)Get file system attributes for the given file.private java.nio.file.PathSystemReader.Default. getXDGConfigHome(FS fs)FileBasedConfigSystemReader.Default. openJGitConfig(Config parent, FS fs)abstract FileBasedConfigSystemReader. openJGitConfig(Config parent, FS fs)Open the jgit configuration located at $XDG_CONFIG_HOME/jgit/config.FileBasedConfigSystemReader.Default. openSystemConfig(Config parent, FS fs)abstract FileBasedConfigSystemReader. openSystemConfig(Config parent, FS fs)Open the gitconfig configuration found in the system-wide "etc" directory.FileBasedConfigSystemReader.Default. openUserConfig(Config parent, FS fs)abstract FileBasedConfigSystemReader. openUserConfig(Config parent, FS fs)Open the git configuration found in the user home.static java.lang.StringSshSupport. runSshCommand(URIish sshUri, CredentialsProvider provider, FS fs, java.lang.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 FS Constructor Description Attributes(java.io.File path, FS fs)Constructor when there are issues with reading.Attributes(FS fs, java.io.File file, boolean exists, boolean isDirectory, boolean isExecutable, boolean isSymbolicLink, boolean isRegularFile, long creationTime, java.time.Instant lastModifiedInstant, long length)FS(FS src)Initialize this FS using another's current settings.FS_POSIX(FS src)ConstructorFS_Win32(FS src)ConstructorFS_Win32_Cygwin(FS src)Constructor
-