congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Option (scala)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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