com.caucho.env.git
Class GitWorkingTree

java.lang.Object
  extended by com.caucho.env.git.GitWorkingTree

public class GitWorkingTree
extends java.lang.Object

Tree structure


Nested Class Summary
 class GitWorkingTree.Entry
           
 
Constructor Summary
GitWorkingTree()
           
 
Method Summary
 void addBlobPath(java.lang.String path, int mode, java.lang.String sha1)
           
 GitWorkingTree findTreeRec(java.lang.String path)
           
 java.lang.String getDigest()
           
 java.util.Map<java.lang.String,GitWorkingTree.Entry> getMap()
           
 java.io.InputStream openFile()
           
 void toData(java.io.OutputStream out)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GitWorkingTree

public GitWorkingTree()
Method Detail

getMap

public java.util.Map<java.lang.String,GitWorkingTree.Entry> getMap()

getDigest

public java.lang.String getDigest()

addBlobPath

public void addBlobPath(java.lang.String path,
                        int mode,
                        java.lang.String sha1)

findTreeRec

public GitWorkingTree findTreeRec(java.lang.String path)

openFile

public java.io.InputStream openFile()
                             throws java.io.IOException
Throws:
java.io.IOException

toData

public void toData(java.io.OutputStream out)
            throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object