[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

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

(pas de description)

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

Définit 8 classes

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

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

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

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

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

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

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

VC_Patchset_cvs:: (4 méthodes):
  VC_Patchset_cvs()
  getPatchsetObject()
  getPatchsets()
  getFullPath()


Classe: VC_cvs  - X-Ref

VC_cvs implementation.

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

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

VC_cvs($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_cvs  - X-Ref

VC_cvs annotate class.

Anil Madhavapeddy, <anil@recoil.org>

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

doAnnotate($rev)   X-Ref
Pas de description

Classe: VC_Checkout_cvs  - X-Ref

VC_cvs checkout class.

See the README file that came with this library for more
information, and read the inline documentation.

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: VC_cvs $rep       A repository object
param: string $fullname  Fully qualified pathname of the desired RCS
param: string $rev       RCS revision number to check out
return: resource|object  Either a PEAR_Error object, or a stream

Classe: VC_Diff_cvs  - X-Ref

VC_cvs 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_cvs $rep        A repository object.
param: VC_File_cvs $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_cvs  - X-Ref

VC_cvs directory class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

VC_Directory_cvs($rep, $dn, $pn = '')   X-Ref
Creates a CVS Directory object to store information
about the files in a single directory in the repository.

param: VC_cvs $rep           A repository object
param: string $dn            Path to the directory.
param: VC_Directory_cvs $pn  The parent VC_Directory to this one.

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

return: string  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: boolean|object  PEAR_Error object on an error, true 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: integer $how  Of the form VC_SORT_* where * can be:
param: integer $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 file age.


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


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


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


Classe: VC_File_cvs  - X-Ref

VC_cvs file class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

VC_File_cvs($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: boolean  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: string  Filename (without the path)

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

return: string  Filename without repository extension

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

return: string|object  Last revision of the current file or PEAR_Error

queryPreviousRevision($rev)   X-Ref
Pas de description

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

return: string  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: integer $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: boolean|object  PEAR_Error object on error, or 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_cvs  - X-Ref

VC_cvs log class.

VC_Log_cvs($fl)   X-Ref
Pas de description

processLog($raw)   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: array  Hash of symbolic names => branch numbers

Classe: VC_Patchset_cvs  - X-Ref

VC_cvs Patchset class.

Copyright Anil Madhavapeddy, <anil@recoil.org>

VC_Patchset_cvs($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: boolean|object  PEAR_Error object on error, or true on success.

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

return: string  Fully qualified filename of this object



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