Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
WorkingTreeModifiedEvent.getDeleted()
Retrieves the
Collection of repository-relative paths
of files that were deleted. |
java.util.Collection<java.lang.String> |
WorkingTreeModifiedEvent.getModified()
Retrieves the
Collection of repository-relative paths
of files that were modified (added or updated). |
Modifier and Type | Field and Description |
---|---|
private byte[] |
RepoCommand.RemoteFile.contents |
private FileMode |
RepoCommand.RemoteFile.fileMode |
Modifier and Type | Method and Description |
---|---|
byte[] |
RepoCommand.RemoteFile.getContents()
Contents of the file.
|
FileMode |
RepoCommand.RemoteFile.getFileMode() |
java.util.List<RepoProject> |
ManifestParser.getFilteredProjects()
Getter for filterdProjects.
|
RepoCommand.RemoteFile |
RepoCommand.RemoteReader.readFileWithMode(java.lang.String uri,
java.lang.String ref,
java.lang.String path)
Read contents and mode (i.e.
|
Constructor and Description |
---|
RemoteFile(byte[] contents,
FileMode fileMode) |
RemoteFile(byte[] contents,
FileMode fileMode) |
Modifier and Type | Method and Description |
---|---|
(package private) static ObjectId |
KetchReplica.getId(Ref ref) |
Modifier and Type | Method and Description |
---|---|
DfsObjDatabase.PackSource |
DfsPackDescription.getPackSource()
Get the source of the pack.
|
Modifier and Type | Method and Description |
---|---|
DfsPackDescription |
DfsPackDescription.setPackSource(DfsObjDatabase.PackSource source)
Set the source of the pack.
|
Constructor and Description |
---|
DfsPackDescription(DfsRepositoryDescription repoDesc,
java.lang.String name,
DfsObjDatabase.PackSource packSource)
Initialize a description by pack name and repository.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Ref> |
RefDirectory.exactRef(java.lang.String... refs)
Read the specified references.
|
ObjectId |
RefDirectory.LooseUnpeeled.getObjectId() |
Modifier and Type | Method and Description |
---|---|
void |
GC.setPackConfig(PackConfig pconfig)
Set the PackConfig used when (re-)writing packfiles.
|
private PackFile |
GC.writePack(java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<ObjectId> tags,
java.util.Set<ObjectId> tagTargets,
java.util.List<ObjectIdSet> excludeObjects) |
private PackFile |
GC.writePack(java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<ObjectId> tags,
java.util.Set<ObjectId> tagTargets,
java.util.List<ObjectIdSet> excludeObjects) |
private PackFile |
GC.writePack(java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<ObjectId> tags,
java.util.Set<ObjectId> tagTargets,
java.util.List<ObjectIdSet> excludeObjects) |
Constructor and Description |
---|
FileSnapshot(long read,
long modified,
long size,
java.time.Duration fsTimestampResolution,
java.lang.Object fileKey) |
FileSnapshot(long read,
long modified,
long size,
java.time.Duration fsTimestampResolution,
java.lang.Object fileKey) |
LooseNonTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id) |
LooseNonTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id) |
LoosePeeledTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id,
ObjectId p) |
LoosePeeledTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id,
ObjectId p) |
LoosePeeledTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id,
ObjectId p) |
LooseSymbolicRef(FileSnapshot snapshot,
java.lang.String refName,
Ref target) |
LooseSymbolicRef(FileSnapshot snapshot,
java.lang.String refName,
Ref target) |
LooseUnpeeled(FileSnapshot snapShot,
java.lang.String refName,
ObjectId id) |
LooseUnpeeled(FileSnapshot snapShot,
java.lang.String refName,
ObjectId id) |
Modifier and Type | Method and Description |
---|---|
private boolean |
PackWriter.depthSkip(RevObject obj,
ObjectWalk walker)
Determines if the object should be omitted from the pack as a result of
its depth (probably because of the tree:
|
private void |
PackWriter.filterAndAddObject(AnyObjectId src,
int type,
int pathHashCode,
java.util.Set<? extends AnyObjectId> want) |
private void |
PackWriter.filterAndAddObject(AnyObjectId src,
int type,
int pathHashCode,
java.util.Set<? extends AnyObjectId> want) |
private void |
PackWriter.findObjectsToPack(ProgressMonitor countingMonitor,
ObjectWalk walker,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> noBitmaps) |
private void |
PackWriter.findObjectsToPack(ProgressMonitor countingMonitor,
ObjectWalk walker,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> noBitmaps) |
private void |
PackWriter.findObjectsToPack(ProgressMonitor countingMonitor,
ObjectWalk walker,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> noBitmaps) |
private void |
PackWriter.findObjectsToPack(ProgressMonitor countingMonitor,
ObjectWalk walker,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> noBitmaps) |
private void |
PackWriter.findObjectsToPack(ProgressMonitor countingMonitor,
ObjectWalk walker,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> noBitmaps) |
void |
PackWriter.preparePack(java.util.Iterator<RevObject> objectsSource)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
java.util.Set<? extends ObjectId> interestingObjects,
java.util.Set<? extends ObjectId> uninterestingObjects,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
java.util.Set<? extends ObjectId> interestingObjects,
java.util.Set<? extends ObjectId> uninterestingObjects,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
java.util.Set<? extends ObjectId> interestingObjects,
java.util.Set<? extends ObjectId> uninterestingObjects,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
java.util.Set<? extends ObjectId> interestingObjects,
java.util.Set<? extends ObjectId> uninterestingObjects,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
java.util.Set<? extends ObjectId> want,
java.util.Set<? extends ObjectId> have,
java.util.Set<? extends ObjectId> shallow,
java.util.Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.setFilterSpec(FilterSpec filter) |
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<java.net.HttpCookie> |
NetscapeCookieFile.parseCookieFile(byte[] input,
java.util.Date creationDate)
Parses the given file and extracts all cookie information from it.
|
private static java.util.Set<java.net.HttpCookie> |
NetscapeCookieFile.parseCookieFile(byte[] input,
java.util.Date creationDate)
Parses the given file and extracts all cookie information from it.
|
private static java.net.HttpCookie |
NetscapeCookieFile.parseLine(java.lang.String line,
java.util.Date creationDate) |
private static java.net.HttpCookie |
NetscapeCookieFile.parseLine(java.lang.String line,
java.util.Date creationDate) |
(package private) static void |
NetscapeCookieFile.write(java.io.Writer writer,
java.util.Collection<java.net.HttpCookie> cookies,
java.net.URL url,
java.util.Date creationDate)
Writes the given cookies to the file in the Netscape Cookie File Format
(also used by curl)
|
(package private) static void |
NetscapeCookieFile.write(java.io.Writer writer,
java.util.Collection<java.net.HttpCookie> cookies,
java.net.URL url,
java.util.Date creationDate)
Writes the given cookies to the file in the Netscape Cookie File Format
(also used by curl)
|
(package private) static void |
NetscapeCookieFile.write(java.io.Writer writer,
java.util.Collection<java.net.HttpCookie> cookies,
java.net.URL url,
java.util.Date creationDate)
Writes the given cookies to the file in the Netscape Cookie File Format
(also used by curl)
|
(package private) static void |
NetscapeCookieFile.write(java.io.Writer writer,
java.util.Collection<java.net.HttpCookie> cookies,
java.net.URL url,
java.util.Date creationDate)
Writes the given cookies to the file in the Netscape Cookie File Format
(also used by curl)
|
private static void |
NetscapeCookieFile.writeCookie(java.io.Writer writer,
java.net.HttpCookie cookie,
java.net.URL url,
java.util.Date creationDate) |
private static void |
NetscapeCookieFile.writeCookie(java.io.Writer writer,
java.net.HttpCookie cookie,
java.net.URL url,
java.util.Date creationDate) |
private static void |
NetscapeCookieFile.writeCookie(java.io.Writer writer,
java.net.HttpCookie cookie,
java.net.URL url,
java.util.Date creationDate) |
private static void |
NetscapeCookieFile.writeCookie(java.io.Writer writer,
java.net.HttpCookie cookie,
java.net.URL url,
java.util.Date creationDate) |
Modifier and Type | Method and Description |
---|---|
static FirstCommand |
FirstCommand.fromLine(java.lang.String line)
Parse the first line of a receive-pack request.
|
java.util.Set<java.lang.String> |
FirstCommand.getCapabilities() |
java.lang.String |
FirstCommand.getLine() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
OpenSshConfigFile.HostEntry.getMultiValuedOptions()
Retrieves an unmodifiable map of all multi-valued options, with
case-insensitive lookup by keys.
|
java.util.Map<java.lang.String,java.lang.String> |
OpenSshConfigFile.HostEntry.getOptions()
Retrieves an unmodifiable map of all single-valued options, with
case-insensitive lookup by keys.
|
OpenSshConfigFile.HostEntry |
OpenSshConfigFile.lookup(java.lang.String hostName,
int port,
java.lang.String userName)
Locate the configuration for a specific host request.
|
private java.lang.String |
OpenSshConfigFile.toCacheKey(java.lang.String hostName,
int port,
java.lang.String userName) |
Modifier and Type | Method and Description |
---|---|
OpenSshConfigFile.HostEntry |
OpenSshConfigFile.lookup(java.lang.String hostName,
int port,
java.lang.String userName)
Locate the configuration for a specific host request.
|
private java.lang.String |
OpenSshConfigFile.toCacheKey(java.lang.String hostName,
int port,
java.lang.String userName) |
Constructor and Description |
---|
OpenSshConfigFile(java.io.File home,
java.io.File config,
java.lang.String localUserName)
Creates a new
OpenSshConfigFile that will read the config from
file config use the given file home as "home" directory. |
OpenSshConfigFile(java.io.File home,
java.io.File config,
java.lang.String localUserName)
Creates a new
OpenSshConfigFile that will read the config from
file config use the given file home as "home" directory. |
OpenSshConfigFile(java.io.File home,
java.io.File config,
java.lang.String localUserName)
Creates a new
OpenSshConfigFile that will read the config from
file config use the given file home as "home" directory. |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
GssApiMechanisms.getCanonicalName(java.net.InetSocketAddress remote)
Determines a canonical host name for use use with GSS-API.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
JGitHostConfigEntry.getMultiValuedOptions()
Retrieves all multi-valued options.
|
static java.util.Collection<org.ietf.jgss.Oid> |
GssApiMechanisms.getSupportedMechanisms()
Retrieves an immutable collection of the supported mechanisms.
|
java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> |
ServerKeyLookup.lookup(org.apache.sshd.client.session.ClientSession session,
java.net.SocketAddress remote)
Retrieves all entries for a given remote address.
|
Modifier and Type | Method and Description |
---|---|
static org.ietf.jgss.GSSContext |
GssApiMechanisms.createContext(org.ietf.jgss.Oid mechanism,
java.lang.String fqdn)
Creates a
GSSContext for the given mechanism to authenticate with
the host given by fqdn . |
static org.ietf.jgss.GSSContext |
GssApiMechanisms.createContext(org.ietf.jgss.Oid mechanism,
java.lang.String fqdn)
Creates a
GSSContext for the given mechanism to authenticate with
the host given by fqdn . |
static void |
GssApiMechanisms.failed(org.ietf.jgss.Oid mechanism)
Mark the mechanisms as failed.
|
static java.lang.String |
GssApiMechanisms.getCanonicalName(java.net.InetSocketAddress remote)
Determines a canonical host name for use use with GSS-API.
|
static java.net.InetAddress |
GssApiMechanisms.resolve(java.net.InetSocketAddress remote)
Resolves an
InetSocketAddress . |
static void |
GssApiMechanisms.worked(org.ietf.jgss.Oid mechanism)
Report that this mechanism was used successfully.
|
Constructor and Description |
---|
JGitSshConfig(java.io.File home,
java.io.File config,
java.lang.String localUserName)
Creates a new
OpenSshConfigFile that will read the config from
file config use the given file home as "home" directory. |
JGitSshConfig(java.io.File home,
java.io.File config,
java.lang.String localUserName)
Creates a new
OpenSshConfigFile that will read the config from
file config use the given file home as "home" directory. |
JGitSshConfig(java.io.File home,
java.io.File config,
java.lang.String localUserName)
Creates a new
OpenSshConfigFile that will read the config from
file config use the given file home as "home" directory. |
PasswordProviderWrapper(KeyPasswordProvider delegate) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
AuthenticationChallenge.getArguments()
Retrieves the arguments of the challenge.
|
Modifier and Type | Method and Description |
---|---|
private static org.ietf.jgss.GSSContext |
Socks5ClientConnector.getGSSContext(java.net.InetSocketAddress address) |
private static byte[] |
Socks5ClientConnector.getRawAddress(java.net.InetSocketAddress address) |
Constructor and Description |
---|
AbstractClientProxyConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
AbstractClientProxyConnector . |
AbstractClientProxyConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
AbstractClientProxyConnector . |
HttpClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress)
Creates a new
HttpClientConnector . |
HttpClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress)
Creates a new
HttpClientConnector . |
HttpClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
HttpClientConnector . |
HttpClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
HttpClientConnector . |
Socks5ClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress)
Creates a new
Socks5ClientConnector . |
Socks5ClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress)
Creates a new
Socks5ClientConnector . |
Socks5ClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
Socks5ClientConnector . |
Socks5ClientConnector(java.net.InetSocketAddress proxyAddress,
java.net.InetSocketAddress remoteAddress,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
Socks5ClientConnector . |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.security.KeyPair> |
SshTestGitServer.hostKeys |
protected Repository |
SshTestGitServer.repository |
protected java.security.PublicKey |
SshTestGitServer.testKey |
protected java.lang.String |
SshTestGitServer.testUser |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<org.apache.sshd.common.NamedFactory<org.apache.sshd.server.command.Command>> |
SshTestGitServer.configureSubsystems()
Configures the test server's subsystems (sftp, scp).
|
Modifier and Type | Method and Description |
---|---|
void |
SshTestGitServer.addHostKey(java.nio.file.Path key,
boolean inFront)
Adds an additional host key to the server.
|
Constructor and Description |
---|
SshTestGitServer(java.lang.String testUser,
java.nio.file.Path testKey,
Repository repository,
byte[] hostKey)
Creates a ssh git test server.
|
SshTestGitServer(java.lang.String testUser,
java.nio.file.Path testKey,
Repository repository,
byte[] hostKey)
Creates a ssh git test server.
|
SshTestGitServer(java.lang.String testUser,
java.nio.file.Path testKey,
Repository repository,
byte[] hostKey)
Creates a ssh git test server.
|
SshTestGitServer(java.lang.String testUser,
java.nio.file.Path testKey,
Repository repository,
byte[] hostKey)
Creates a ssh git test server.
|
Modifier and Type | Method and Description |
---|---|
static HttpConnection |
LfsConnectionFactory.getLfsContentConnection(Repository repo,
Protocol.Action action,
java.lang.String method)
Create a connection for the specified
Protocol.Action . |
Modifier and Type | Method and Description |
---|---|
abstract AttributesNodeProvider |
Repository.createAttributesNodeProvider()
Create a new
AttributesNodeProvider . |
java.util.Map<java.lang.String,Ref> |
RefDatabase.exactRef(java.lang.String... refs)
Read the specified references.
|
java.util.Set<ObjectId> |
Repository.getAdditionalHaves()
Objects known to exist but not expressed by
Repository.getAllRefs() . |
abstract java.util.List<Ref> |
RefDatabase.getAdditionalRefs()
Get the additional reference-like entities from the repository.
|
java.util.Map<java.lang.String,Ref> |
Repository.getAllRefs()
Deprecated.
use
getRefDatabase().getRefs() instead. |
java.util.Map<AnyObjectId,java.util.Set<Ref>> |
Repository.getAllRefsByPeeledObjectId()
Get a map with all objects referenced by a peeled ref.
|
abstract StoredConfig |
Repository.getConfig()
Get the configuration of this repository.
|
java.util.Collection<java.lang.String> |
RefDatabase.getConflictingNames(java.lang.String name)
Determine if a proposed reference cannot coexist with existing ones.
|
java.io.File |
Repository.getIndexFile()
Get the index file location or
null if repository isn't local. |
Ref |
SymbolicRef.getLeaf()
Traverse target references until
Ref.isSymbolic() is false. |
Ref |
Ref.getLeaf()
Traverse target references until
Ref.isSymbolic() is false. |
Ref |
ObjectIdRef.getLeaf()
Traverse target references until
Ref.isSymbolic() is false. |
ListenerList |
Repository.getListenerList()
Get listeners observing only events on this repository.
|
java.lang.String |
SymbolicRef.getName()
What this ref is called within the repository.
|
java.lang.String |
Ref.getName()
What this ref is called within the repository.
|
java.lang.String |
ObjectIdRef.getName()
What this ref is called within the repository.
|
abstract ObjectDatabase |
Repository.getObjectDatabase()
Get the object database which stores this repository's data.
|
ObjectId |
ObjectIdRef.PeeledTag.getPeeledObjectId() |
abstract RefDatabase |
Repository.getRefDatabase()
Get the reference database which stores the reference namespace.
|
java.util.List<Ref> |
RefDatabase.getRefs()
Returns all refs.
|
abstract java.util.Map<java.lang.String,Ref> |
RefDatabase.getRefs(java.lang.String prefix)
Deprecated.
use
RefDatabase.getRefsByPrefix(java.lang.String) instead |
java.util.List<Ref> |
RefDatabase.getRefsByPrefix(java.lang.String... prefixes)
Returns refs whose names start with one of the given prefixes.
|
java.util.List<Ref> |
RefDatabase.getRefsByPrefix(java.lang.String prefix)
Returns refs whose names start with a given prefix.
|
java.util.List<RefSpec> |
DefaultTypedConfigGetter.getRefSpecs(Config config,
java.lang.String section,
java.lang.String subsection,
java.lang.String name)
|
java.util.List<RefSpec> |
TypedConfigGetter.getRefSpecs(Config config,
java.lang.String section,
java.lang.String subsection,
java.lang.String name)
|
java.util.Set<java.lang.String> |
Repository.getRemoteNames()
Get the names of all known remotes
|
RepositoryState |
Repository.getRepositoryState()
Get the repository state
|
Ref.Storage |
SymbolicRef.getStorage()
How was this ref obtained?
|
Ref.Storage |
Ref.getStorage()
How was this ref obtained?
|
Ref.Storage |
ObjectIdRef.getStorage()
How was this ref obtained?
|
java.util.Map<java.lang.String,Ref> |
Repository.getTags()
Deprecated.
use
getRefDatabase().getRefsByPrefix(R_TAGS) instead |
Ref |
SymbolicRef.getTarget()
Get the reference this reference points to, or
this . |
Ref |
Ref.getTarget()
Get the reference this reference points to, or
this . |
Ref |
ObjectIdRef.getTarget()
Get the reference this reference points to, or
this . |
java.util.Set<Ref> |
RefDatabase.getTipsWithSha1(ObjectId id)
Returns all refs that resolve directly to the given
ObjectId . |
java.io.File |
Repository.getWorkTree()
Get the root directory of the working tree, where files are checked out
for viewing and editing.
|
DirCache |
Repository.lockDirCache()
Create a new in-core index representation, lock it, and read from disk.
|
BatchRefUpdate |
RefDatabase.newBatchUpdate()
Create a new batch update to attempt on this database.
|
ObjectInserter |
Repository.newObjectInserter()
Create a new inserter to create objects in
Repository.getObjectDatabase() . |
ObjectReader |
Repository.newObjectReader()
Create a new reader to read objects from
Repository.getObjectDatabase() . |
abstract RefRename |
RefDatabase.newRename(java.lang.String fromName,
java.lang.String toName)
Create a new update command to rename a reference.
|
abstract RefUpdate |
RefDatabase.newUpdate(java.lang.String name,
boolean detach)
Create a new update command to create, modify or delete a reference.
|
ObjectLoader |
Repository.open(AnyObjectId objectId)
Open an object from this repository.
|
ObjectLoader |
Repository.open(AnyObjectId objectId,
int typeHint)
Open an object from this repository.
|
abstract Ref |
RefDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
Ref |
Repository.peel(Ref ref)
Deprecated.
use
getRefDatabase().peel(ref) instead. |
DirCache |
Repository.readDirCache()
Create a new in-core index representation and read an index from disk.
|
java.util.List<RebaseTodoLine> |
Repository.readRebaseTodo(java.lang.String path,
boolean includeComments)
Read a file formatted like the git-rebase-todo file.
|
static ObjectId |
ObjectIdSerializer.readWithoutMarker(java.io.InputStream in)
Read a non-null
ObjectId from the stream. |
RefRename |
Repository.renameRef(java.lang.String fromRef,
java.lang.String toRef)
Create a command to rename a ref in this repository
|
static java.lang.String |
Repository.shortenRefName(java.lang.String refName)
Get a shortened more user friendly ref name
|
static java.lang.String |
Repository.stripWorkDir(java.io.File workDir,
java.io.File file)
Strip work dir and return normalized repository path.
|
java.lang.String |
Repository.toString() |
java.lang.String |
ObjectIdRef.toString() |
RefUpdate |
Repository.updateRef(java.lang.String ref)
Create a command to update, create or delete a ref in this repository.
|
RefUpdate |
Repository.updateRef(java.lang.String ref,
boolean detach)
Create a command to update, create or delete a ref in this repository.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
GpgSigner.canLocateSigningKey(java.lang.String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider)
Indicates if a signing key is available for the specified committer
and/or signing key.
|
static void |
RepositoryCache.close(Repository db)
Close and remove a repository from the cache.
|
(package private) static boolean |
RepositoryCache.isCached(Repository repo) |
private void |
ObjectChecker.report(ObjectChecker.ErrorType err,
AnyObjectId id,
java.lang.String why) |
abstract void |
GpgSigner.sign(CommitBuilder commit,
java.lang.String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider)
Signs the specified commit.
|
abstract void |
GpgSigner.sign(CommitBuilder commit,
java.lang.String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider)
Signs the specified commit.
|
static void |
ObjectIdSerializer.writeWithoutMarker(java.io.OutputStream out,
AnyObjectId id)
Write a non-null
ObjectId to the stream. |
Constructor and Description |
---|
GpgSignature(byte[] signature)
Creates a new instance with the specified signature
|
ObjectIdRef(Ref.Storage st,
java.lang.String name,
ObjectId id,
long updateIndex)
Create a new ref pairing.
|
ObjectIdRef(Ref.Storage st,
java.lang.String name,
ObjectId id,
long updateIndex)
Create a new ref pairing.
|
PeeledNonTag(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
PeeledNonTag(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
PeeledNonTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
long updateIndex)
Create a new ref pairing with update index.
|
PeeledNonTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
long updateIndex)
Create a new ref pairing with update index.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p,
long updateIndex)
Create a new ref pairing with update index.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p,
long updateIndex)
Create a new ref pairing with update index.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p,
long updateIndex)
Create a new ref pairing with update index.
|
SymbolicRef(java.lang.String refName,
Ref target)
Create a new ref pairing.
|
SymbolicRef(java.lang.String refName,
Ref target)
Create a new ref pairing.
|
SymbolicRef(java.lang.String refName,
Ref target,
long updateIndex)
Create a new ref pairing.
|
SymbolicRef(java.lang.String refName,
Ref target,
long updateIndex)
Create a new ref pairing.
|
Unpeeled(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
Unpeeled(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
Unpeeled(Ref.Storage st,
java.lang.String name,
ObjectId id,
long updateIndex)
Create a new ref pairing with update index.
|
Unpeeled(Ref.Storage st,
java.lang.String name,
ObjectId id,
long updateIndex)
Create a new ref pairing with update index.
|
Modifier and Type | Method and Description |
---|---|
void |
BouncyCastleGpgSigner.sign(CommitBuilder commit,
java.lang.String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider) |
void |
BouncyCastleGpgSigner.sign(CommitBuilder commit,
java.lang.String gpgSigningKey,
PersonIdent committer,
CredentialsProvider credentialsProvider) |
Constructor and Description |
---|
BouncyCastleGpgKeyLocator(java.lang.String signingKey,
BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt)
Create a new key locator for the specified signing key.
|
Modifier and Type | Method and Description |
---|---|
RevFilter |
RevWalk.getRevFilter()
Get the currently configured commit filter.
|
TreeFilter |
RevWalk.getTreeFilter()
Get the tree filter used to simplify commits by modified paths.
|
RevObject |
RevWalk.lookupAny(AnyObjectId id,
int type)
Locate a reference to any object without loading it.
|
RevBlob |
RevWalk.lookupBlob(AnyObjectId id)
Locate a reference to a blob without loading it.
|
RevCommit |
RevWalk.lookupCommit(AnyObjectId id)
Locate a reference to a commit without loading it.
|
RevTag |
RevWalk.lookupTag(AnyObjectId id)
Locate a reference to a tag without loading it.
|
RevTree |
RevWalk.lookupTree(AnyObjectId id)
Locate a reference to a tree without loading it.
|
RevObject |
RevWalk.parseAny(AnyObjectId id)
Locate a reference to any object and immediately parse its headers.
|
RevCommit |
RevWalk.parseCommit(AnyObjectId id)
Locate a reference to a commit and immediately parse its content.
|
RevTag |
RevWalk.parseTag(AnyObjectId id)
Locate a reference to an annotated tag and immediately parse its content.
|
RevTree |
RevWalk.parseTree(AnyObjectId id)
Locate a reference to a tree.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
FetchV2Request.serverOptions |
private java.util.List<java.lang.String> |
LsRefsV2Request.serverOptions |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,Ref> |
UploadPack.exactRefs(java.util.List<java.lang.String> names)
Read refs on behalf of the client.
|
(package private) java.util.Set<java.lang.String> |
FetchRequest.getClientCapabilities()
Capabilities that the client wants enabled from the server.
|
(package private) java.util.Set<ObjectId> |
FetchRequest.getClientShallowCommits()
Shallow commits the client already has.
|
(package private) java.util.List<java.lang.String> |
FetchRequest.getDeepenNotRefs() |
(package private) FilterSpec |
FetchRequest.getFilterSpec() |
(package private) java.util.List<ObjectId> |
FetchV2Request.getPeerHas() |
java.util.List<java.lang.String> |
FetchV2Request.getServerOptions()
Options received in server-option lines.
|
java.util.List<java.lang.String> |
LsRefsV2Request.getServerOptions()
Get application-specific options provided by the client using
--server-option.
|
java.util.List<java.lang.String> |
FetchV2Request.getWantedRefs() |
(package private) java.util.Set<ObjectId> |
FetchRequest.getWantIds() |
private static java.util.Map<java.lang.String,Ref> |
UploadPack.mapRefs(java.util.Map<java.lang.String,Ref> refs,
java.util.List<java.lang.String> names)
Returns the specified references.
|
Modifier and Type | Method and Description |
---|---|
(package private) FetchV2Request.Builder |
FetchV2Request.Builder.addServerOption(java.lang.String value)
Records an application-specific option supplied in a server-option
line, for later retrieval with
FetchV2Request.getServerOptions() . |
LsRefsV2Request.Builder |
LsRefsV2Request.Builder.addServerOption(java.lang.String value)
Records an application-specific option supplied in a server-option
line, for later retrieval with
LsRefsV2Request.getServerOptions() . |
static ReceiveCommand |
ReceiveCommand.link(ObjectId oldId,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a reference from object to symbolic.
|
static ReceiveCommand |
ReceiveCommand.link(ObjectId oldId,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a reference from object to symbolic.
|
static ReceiveCommand |
ReceiveCommand.link(ObjectId oldId,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a reference from object to symbolic.
|
static ReceiveCommand |
ReceiveCommand.link(java.lang.String oldTarget,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a symbolic reference's target.
|
static ReceiveCommand |
ReceiveCommand.link(java.lang.String oldTarget,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a symbolic reference's target.
|
(package private) FetchV2Request.Builder |
FetchV2Request.Builder.setFilterSpec(FilterSpec filter) |
(package private) FetchV0Request.Builder |
FetchV0Request.Builder.setFilterSpec(FilterSpec filter) |
void |
Transport.setFilterSpec(FilterSpec filter) |
static ReceiveCommand |
ReceiveCommand.unlink(java.lang.String oldTarget,
ObjectId newId,
java.lang.String name)
Create a command to switch a reference from symbolic to object.
|
static ReceiveCommand |
ReceiveCommand.unlink(java.lang.String oldTarget,
ObjectId newId,
java.lang.String name)
Create a command to switch a reference from symbolic to object.
|
static ReceiveCommand |
ReceiveCommand.unlink(java.lang.String oldTarget,
ObjectId newId,
java.lang.String name)
Create a command to switch a reference from symbolic to object.
|
Constructor and Description |
---|
FetchRequest(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
java.lang.String agent)
Initialize the common fields of a fetch request.
|
FetchRequest(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
java.lang.String agent)
Initialize the common fields of a fetch request.
|
FetchRequest(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
java.lang.String agent)
Initialize the common fields of a fetch request.
|
FetchRequest(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
java.lang.String agent)
Initialize the common fields of a fetch request.
|
FetchRequest(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
java.lang.String agent)
Initialize the common fields of a fetch request.
|
FetchV0Request(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent) |
FetchV0Request(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent) |
FetchV0Request(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent) |
FetchV0Request(java.util.Set<ObjectId> wantIds,
int depth,
java.util.Set<ObjectId> clientShallowCommits,
FilterSpec filterSpec,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
FetchV2Request(java.util.List<ObjectId> peerHas,
java.util.List<java.lang.String> wantedRefs,
java.util.Set<ObjectId> wantIds,
java.util.Set<ObjectId> clientShallowCommits,
int deepenSince,
java.util.List<java.lang.String> deepenNotRefs,
int depth,
FilterSpec filterSpec,
boolean doneReceived,
java.util.Set<java.lang.String> clientCapabilities,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
LsRefsV2Request(java.util.List<java.lang.String> refPrefixes,
boolean symrefs,
boolean peel,
java.lang.String agent,
java.util.List<java.lang.String> serverOptions) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
HttpConnection.getHeaderField(java.lang.String name)
Get header field.
|
java.lang.String |
JDKHttpConnection.getHeaderField(java.lang.String name)
Get header field.
|
java.util.List<java.lang.String> |
HttpConnection.getHeaderFields(java.lang.String name)
Get all values of given header field.
|
java.util.List<java.lang.String> |
JDKHttpConnection.getHeaderFields(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
HttpClientConnection.getHeaderField(java.lang.String name)
Get header field.
|
java.util.List<java.lang.String> |
HttpClientConnection.getHeaderFields(java.lang.String name) |
Modifier and Type | Field and Description |
---|---|
private java.net.Proxy |
ProxyData.proxy |
Modifier and Type | Method and Description |
---|---|
private org.apache.sshd.common.config.keys.FilePasswordProvider |
SshdSessionFactory.createFilePasswordProvider(KeyPasswordProvider provider)
Creates a
FilePasswordProvider for a new session. |
protected KeyPasswordProvider |
SshdSessionFactory.createKeyPasswordProvider(CredentialsProvider provider)
Creates a
KeyPasswordProvider for a new session. |
protected java.util.List<java.nio.file.Path> |
SshdSessionFactory.getDefaultIdentities(java.io.File sshDir)
Gets a list of default identities, i.e., private key files that shall
always be tried for public key authentication.
|
protected java.lang.Iterable<java.security.KeyPair> |
SshdSessionFactory.getDefaultKeys(java.io.File sshDir)
Determines the default keys.
|
protected java.util.List<java.nio.file.Path> |
SshdSessionFactory.getDefaultKnownHostsFiles(java.io.File sshDir)
Gets the list of default user known hosts files.
|
FtpChannel |
SshdSession.getFtpChannel()
Obtain an
FtpChannel to perform SFTP operations in this
SshdSession . |
private org.apache.sshd.client.config.hosts.HostConfigEntryResolver |
SshdSessionFactory.getHostConfigEntryResolver(java.io.File homeDir,
java.io.File sshDir)
Obtain a
HostConfigEntryResolver to read the ssh config file and
to determine host entries for connections. |
java.net.Proxy |
ProxyData.getProxy()
Obtains the remote
InetSocketAddress of the proxy to connect to. |
private org.apache.sshd.client.keyverifier.ServerKeyVerifier |
SshdSessionFactory.getServerKeyVerifier(java.io.File homeDir,
java.io.File sshDir)
Obtain a
ServerKeyVerifier to read known_hosts files and to
verify server host keys. |
private java.util.List<org.apache.sshd.common.NamedFactory<org.apache.sshd.client.auth.UserAuth>> |
SshdSessionFactory.getUserAuthFactories()
Gets the user authentication mechanisms (or rather, factories for them).
|
Modifier and Type | Method and Description |
---|---|
void |
SshdSession.addCloseListener(SessionCloseListener listener)
Adds a
SessionCloseListener to this session. |
protected java.util.List<java.nio.file.Path> |
SshdSessionFactory.getDefaultIdentities(java.io.File sshDir)
Gets a list of default identities, i.e., private key files that shall
always be tried for public key authentication.
|
protected java.lang.Iterable<java.security.KeyPair> |
SshdSessionFactory.getDefaultKeys(java.io.File sshDir)
Determines the default keys.
|
protected java.util.List<java.nio.file.Path> |
SshdSessionFactory.getDefaultKnownHostsFiles(java.io.File sshDir)
Gets the list of default user known hosts files.
|
private org.apache.sshd.client.config.hosts.HostConfigEntryResolver |
SshdSessionFactory.getHostConfigEntryResolver(java.io.File homeDir,
java.io.File sshDir)
Obtain a
HostConfigEntryResolver to read the ssh config file and
to determine host entries for connections. |
private org.apache.sshd.client.config.hosts.HostConfigEntryResolver |
SshdSessionFactory.getHostConfigEntryResolver(java.io.File homeDir,
java.io.File sshDir)
Obtain a
HostConfigEntryResolver to read the ssh config file and
to determine host entries for connections. |
protected char[] |
IdentityPasswordProvider.getPassword(URIish uri,
int attempt,
IdentityPasswordProvider.State state)
Retrieves a password to decrypt a private key.
|
private org.apache.sshd.client.keyverifier.ServerKeyVerifier |
SshdSessionFactory.getServerKeyVerifier(java.io.File homeDir,
java.io.File sshDir)
Obtain a
ServerKeyVerifier to read known_hosts files and to
verify server host keys. |
private org.apache.sshd.client.keyverifier.ServerKeyVerifier |
SshdSessionFactory.getServerKeyVerifier(java.io.File homeDir,
java.io.File sshDir)
Obtain a
ServerKeyVerifier to read known_hosts files and to
verify server host keys. |
void |
SshdSession.removeCloseListener(SessionCloseListener listener)
Removes the given
listener ; has no effect if the listener is not
currently registered with this session. |
void |
SshdSessionFactory.setHomeDirectory(java.io.File homeDir)
Set a global directory to use as the user's home directory
|
void |
SshdSessionFactory.setSshDirectory(java.io.File sshDir)
Set a global directory to use as the .ssh directory
|
Constructor and Description |
---|
ProxyData(java.net.Proxy proxy)
Creates a new
ProxyData instance without user name or password. |
ProxyData(java.net.Proxy proxy,
java.lang.String proxyUser,
char[] proxyPassword)
Creates a new
ProxyData instance. |
Modifier and Type | Method and Description |
---|---|
static java.time.Duration |
FS.getFsTimerResolution(java.nio.file.Path dir)
Get an estimate for the filesystem timestamp resolution from a cache of
timestamp resolution per FileStore, if not yet available it is measured
for a probe file under the given directory.
|