메소드 |
설명 |
|
__construct ( string $filename, array $opts = [] ) |
Constructor. |
|
__sleep ( ) |
When serializing, don't return the repository object |
|
applySort ( integer $how = Horde_Vcs::SORT_REV ) |
Sort the list of Horde_Vcs_Log objects that this file contains. |
|
getBlob ( $revision ) |
TODO - better name, wrap an object around this? |
|
getBranches ( ) |
TODO |
|
getFileName ( ) : string |
Returns name of the current file without the repository extensions. |
|
getLastLog ( ) : Horde_Vcs_QuickLog |
Returns a log object for the most recent log entry of this file. |
|
getLog ( $rev = null ) |
TODO |
|
getPath ( ) : string |
Return the "base" filename (i.e. the filename needed by the various
command line utilities). |
|
getPreviousRevision ( string $rev ) : string |
Returns the revision before the specified revision. |
|
getRevision ( ) : string |
Returns the last revision of the current file on the HEAD branch. |
|
getSourcerootPath ( ) : string |
Return the filename relative to its sourceroot. |
|
getTags ( ) |
TODO |
|
isDeleted ( ) : boolean |
Has the file been deleted? |
|
revisionCount ( ) |
TODO |
|
setRepository ( $rep ) |
TODO |
|
sortByAge ( $a, $b ) |
|
|
sortByName ( $a, $b ) |
|
|
sortByRevision ( $a, $b ) |
The sortBy*() functions are internally used by applySort. |
|