[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/VC/ -> svn.php (sommaire)

(pas de description)

Poids: 922 lignes (25 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 8 classes

VC_svn:: (8 méthodes):
  VC_svn()
  isFile()
  queryDir()
  getCheckout()
  getDiff()
  getFileObject()
  getAnnotateObject()
  getPatchsetObject()

VC_Annotate_svn:: (2 méthodes):
  VC_Annotate_svn()
  doAnnotate()

VC_Checkout_svn:: (1 méthode):
  get()

VC_Diff_svn:: (1 méthode):
  get()

VC_Directory_svn:: (11 méthodes):
  VC_Directory_svn()
  queryDir()
  queryDirList()
  queryFileList()
  browseDir()
  applySort()
  doFileSort()
  fileAgeSort()
  fileAuthorSort()
  fileNameSort()
  fileRevSort()

VC_File_svn:: (16 méthodes):
  VC_File_svn()
  getFileObject()
  isAtticFile()
  queryRepositoryName()
  queryName()
  queryRevision()
  queryPreviousRevision()
  queryHead()
  queryLastLog()
  applySort()
  sortByRevision()
  sortByAge()
  sortByName()
  getBrowseInfo()
  queryFullPath()
  queryModulePath()

VC_Log_svn:: (8 méthodes):
  VC_Log_svn()
  processLog()
  queryDate()
  queryRevision()
  queryAuthor()
  queryLog()
  queryChangedLines()
  querySymbolicBranches()

VC_Patchset_svn:: (3 méthodes):
  VC_Patchset_svn()
  getPatchsetObject()
  getPatchsets()


Classe: VC_svn  - X-Ref

VC_svn implementation.

Copyright 2000-2006 Anil Madhavapeddy, <anil@recoil.org>

$Horde: framework/VC/VC/svn.php,v 1.28.4.18 2006/05/12 04:47:08 chuck Exp $

VC_svn($params)   X-Ref
Constructor.

param: array $params  Any parameter the class expects.

isFile($where)   X-Ref
Pas de description

queryDir($where)   X-Ref
Pas de description

getCheckout($file, $rev)   X-Ref
Pas de description

getDiff($file, $rev1, $rev2, $type = 'context', $num = 3, $ws = true)   X-Ref
Pas de description

getFileObject($filename, $cache = null, $quicklog = false)   X-Ref
Pas de description

getAnnotateObject($filename)   X-Ref
Pas de description

getPatchsetObject($filename, $cache = null)   X-Ref
Pas de description

Classe: VC_Annotate_svn  - X-Ref

VC_svn annotate class.

Anil Madhavapeddy, <anil@recoil.org>

VC_Annotate_svn($rep, $file)   X-Ref
Pas de description

doAnnotate($rev)   X-Ref
Pas de description

Classe: VC_Checkout_svn  - X-Ref

VC_svn checkout class.

Anil Madhavapeddy, <anil@recoil.org>

get($rep, $fullname, $rev)   X-Ref
Static function which returns a file pointing to the head of the requested
revision of an RCS file.

param: fullname Fully qualified pathname of the desired RCS file to checkout
param: rev RCS revision number to check out
return: Either a PEAR_Error object, or a stream pointer to the head of the checkout

Classe: VC_Diff_svn  - X-Ref

VC_svn diff class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

get($rep, $file, $rev1, $rev2, $type = 'context', $num = 3,$ws = true)   X-Ref
Obtain the differences between two revisions of a file.

param: VC_svn $rep        A repository object.
param: VC_File_svn $file  The desired file.
param: string $rev1       Original revision number to compare from.
param: string $rev2       New revision number to compare against.
param: string $type       The type of diff (e.g. 'unified').
param: integer $num       Number of lines to be used in context and
param: boolean $ws        Show whitespace in the diff?
return: string|boolean  False on failure, or a string containing the

Classe: VC_Directory_svn  - X-Ref

VC_svn directory class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

VC_Directory_svn($rep, $dn, $pn = '')   X-Ref
Create a SVN Directory object to store information about the
files in a single directory in the repository

param: VC_Repository_svn $rp  The VC_Repository object this directory
param: string $dn             Path to the directory.
param: VC_Directory_svn $pn   The parent VC_Directory to this one.

queryDir()   X-Ref
Return fully qualified pathname to this directory with no
trailing /.

return: Pathname of this directory

queryDirList()   X-Ref
Pas de description

queryFileList($showattic = false)   X-Ref
Pas de description

browseDir($cache = null, $quicklog = true, $showattic = false)   X-Ref
Tell the object to open and browse its current directory, and
retrieve a list of all the objects in there.  It then populates
the file/directory stack and makes it available for retrieval.

return: PEAR_Error object on an error, 1 on success.

applySort($how = VC_SORT_NONE, $dir = VC_SORT_ASCENDING)   X-Ref
Sort the contents of the directory in a given fashion and
order.

param: $how Of the form VC_SORT_* where * can be:
param: $dir Of the form VC_SORT_* where * can be:

doFileSort(&$fileList, $how = VC_SORT_NONE, $dir = VC_SORT_ASCENDING)   X-Ref
Pas de description

fileAgeSort($a, $b)   X-Ref
Sort function for ascending age.


fileAuthorSort($a, $b)   X-Ref
Sort function by author name.


fileNameSort($a, $b)   X-Ref
Sort function for ascending filename.


fileRevSort($a, $b)   X-Ref
Sort function for ascending revision.


Classe: VC_File_svn  - X-Ref

VC_svn file class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

VC_File_svn($rep, $fl, $quicklog = false)   X-Ref
Create a repository file object, and give it information about
what its parent directory and repository objects are.

param: string $fl  Full path to this file.

getFileObject($rep, $filename, $cache = null, $quicklog = false)   X-Ref
Pas de description

isAtticFile()   X-Ref
If this file is present in an Attic directory, this indicates
it.

return: true if file is in the Attic, and false otherwise

queryRepositoryName()   X-Ref
Returns the name of the current file as in the repository

return: Filename (without the path)

queryName()   X-Ref
Returns name of the current file without the repository
extensions (usually ,v)

return: Filename without repository extension

queryRevision()   X-Ref
Return the last revision of the current file on the HEAD branch

return: Last revision of the current file

queryPreviousRevision($rev)   X-Ref
Pas de description

queryHead()   X-Ref
Return the HEAD (most recent) revision number for this file.

return: HEAD revision number

queryLastLog()   X-Ref
Return the last VC_Log object in the file.

return: VC_Log of the last entry in the file

applySort($how = VC_SORT_REV)   X-Ref
Sort the list of VC_Log objects that this file contains.

param: how VC_SORT_REV (sort by revision),

sortByRevision($a, $b)   X-Ref
The sortBy*() functions are internally used by applySort.


sortByAge($a, $b)   X-Ref
Pas de description

sortByName($a, $b)   X-Ref
Pas de description

getBrowseInfo()   X-Ref
Populate the object with information about the revisions logs
and dates of the file.

return: mixed boolean            True on success,

queryFullPath()   X-Ref
Return the fully qualified filename of this object.

return: Fully qualified filename of this object

queryModulePath()   X-Ref
Return the name of this file relative to its sourceroot.

return: string  Pathname relative to the sourceroot.

Classe: VC_Log_svn  - X-Ref

VC_svn log class.

Anil Madhavapeddy, <anil@recoil.org>

VC_Log_svn($rep, $fl)   X-Ref
Constructor.


processLog($pipe)   X-Ref
Pas de description

queryDate()   X-Ref
Pas de description

queryRevision()   X-Ref
Pas de description

queryAuthor()   X-Ref
Pas de description

queryLog()   X-Ref
Pas de description

queryChangedLines()   X-Ref
Pas de description

querySymbolicBranches()   X-Ref
Given a branch revision number, this function remaps it
accordingly, and performs a lookup on the file object to
return the symbolic name(s) of that branch in the tree.

return: hash of symbolic names => branch numbers

Classe: VC_Patchset_svn  - X-Ref

VC_svn Patchset class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

VC_Patchset_svn($file)   X-Ref
Create a patchset object.

param: string $file  The filename to get patchsets for.

getPatchsetObject($rep, $filename, $cache = null)   X-Ref
Pas de description

getPatchsets()   X-Ref
Populate the object with information about the patchsets that
this file is involved in.

return: mixed  PEAR_Error object on error, or true on success.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7