Tabnine Logo
DirCacheTree.getChild
Code IndexAdd Tabnine to your IDE (free)

How to use
getChild
method
in
org.eclipse.jgit.dircache.DirCacheTree

Best Java code snippets using org.eclipse.jgit.dircache.DirCacheTree.getChild (Showing top 5 results out of 315)

origin: org.eclipse.jgit/org.eclipse.jgit

  final DirCacheTree p = tree.getChild(nextSubtreePos - 1);
  if (p.contains(cep, pathOffset, cep.length)) {
    nextSubtreePos--;
final DirCacheTree s = tree.getChild(nextSubtreePos);
if (s.contains(cep, pathOffset, cep.length)) {
origin: com.madgag/org.eclipse.jgit.pgm

  private void show(final DirCacheTree tree) throws IOException {
    outw.println(MessageFormat.format(CLIText.get().cacheTreePathInfo,
        tree.getPathString(), valueOf(tree.getEntrySpan()),
        valueOf(tree.getChildCount())));

    for (int i = 0; i < tree.getChildCount(); i++)
      show(tree.getChild(i));
  }
}
origin: com.madgag/org.eclipse.jgit.pgm

  private void show(final DirCacheTree tree) throws IOException {
    outw.println(MessageFormat.format(CLIText.get().cacheTreePathInfo,
        tree.getPathString(), valueOf(tree.getEntrySpan()),
        valueOf(tree.getChildCount())));

    for (int i = 0; i < tree.getChildCount(); i++)
      show(tree.getChild(i));
  }
}
origin: sonia.jgit/org.eclipse.jgit

  final DirCacheTree p = tree.getChild(nextSubtreePos - 1);
  if (p.contains(cep, pathOffset, cep.length)) {
    nextSubtreePos--;
final DirCacheTree s = tree.getChild(nextSubtreePos);
if (s.contains(cep, pathOffset, cep.length)) {
origin: berlam/github-bucket

  final DirCacheTree p = tree.getChild(nextSubtreePos - 1);
  if (p.contains(cep, pathOffset, cep.length)) {
    nextSubtreePos--;
final DirCacheTree s = tree.getChild(nextSubtreePos);
if (s.contains(cep, pathOffset, cep.length)) {
org.eclipse.jgit.dircacheDirCacheTreegetChild

Javadoc

Get the i-th child cache tree.

Popular methods of DirCacheTree

  • getChildCount
    Get the number of cached subtrees contained within this tree.
  • getEntrySpan
    Get the number of entries this tree spans within the DirCache. If this tree is not valid (see #isVal
  • <init>
  • appendName
  • computeSize
  • contains
  • getNameString
    Get the tree's name within its parent. This method is not very efficient and is primarily meant for
  • getObjectId
    Get the tree's ObjectId. If #isValid() returns false this method will return null.
  • insertChild
  • isValid
    Determine if this cache is currently valid. A valid cache tree knows how many org.eclipse.jgit.dirca
  • nameLength
  • namecmp
  • nameLength,
  • namecmp,
  • peq,
  • removeChild,
  • slash,
  • validate,
  • write,
  • writeTree,
  • getPathString

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now