br.com.objectos.git
Class MutableBlob

java.lang.Object
  extended by br.com.objectos.git.MutableBlob
All Implemented Interfaces:
br.com.objectos.core.object.ToStringObject, Comparable<br.com.objectos.git.AbstractEntry>

public final class MutableBlob
extends Object

A mutable Git blob object.

Since:
2

Method Summary
 int compareTo(br.com.objectos.git.AbstractEntry o)
           
 void formatToString(StringBuilder sb, int depth)
           
 EntryMode getMode()
          Returns the file mode of this tree entry.
 String getName()
          Returns the name of this tree entry.
 void setExecutable()
          Sets this entry .
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

formatToString

public final void formatToString(StringBuilder sb,
                                 int depth)

getMode

public final EntryMode getMode()
Returns the file mode of this tree entry.

Returns:
the file mode of this tree entry

getName

public final String getName()
Returns the name of this tree entry.

Returns:
the name of this tree entry

setExecutable

public final void setExecutable()
Sets this entry .


compareTo

public final int compareTo(br.com.objectos.git.AbstractEntry o)
Specified by:
compareTo in interface Comparable<br.com.objectos.git.AbstractEntry>

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2020–2021 Objectos Software LTDA. All rights reserved.