public class GitTree
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
GitTree.Entry |
Constructor and Description |
---|
GitTree() |
Modifier and Type | Method and Description |
---|---|
void |
addBlob(java.lang.String name,
int mode,
java.lang.String sha1) |
void |
addDir(java.lang.String name,
java.lang.String sha1) |
void |
addEntry(java.lang.String name,
int mode,
java.lang.String sha1) |
java.util.Collection<GitTree.Entry> |
entries() |
java.lang.String |
getHash(java.lang.String name) |
java.util.HashMap<java.lang.String,GitTree.Entry> |
getMap() |
void |
toData(java.io.OutputStream out) |
java.lang.String |
toString() |
public void addEntry(java.lang.String name, int mode, java.lang.String sha1)
public java.util.HashMap<java.lang.String,GitTree.Entry> getMap()
public java.lang.String getHash(java.lang.String name)
public void addBlob(java.lang.String name, int mode, java.lang.String sha1)
public void addDir(java.lang.String name, java.lang.String sha1)
public java.util.Collection<GitTree.Entry> entries()
public void toData(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object