[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

/PEAR/PackageFileManager/ -> Svn.php (sommaire)

(pas de description)

Poids: 169 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 PEAR/PackageFileManager/File.php

Définit 1 class

PEAR_PackageFileManager_Svn:: (3 méthodes):
  dirList()
  _readSVNEntries()
  _getSVNEntries()


Classe: PEAR_PackageFileManager_Svn  - X-Ref

Generate a file list from a Subversion checkout

Largely based on the CVS class, modified to suit
subversion organization.

Note that this will <b>NOT</b> work on a
repository, only on a checked out Subversion module
dirList($directory)   X-Ref
Return a list of all files in the CVS repository

This function is like {@link parent::dirList()} except
that instead of retrieving a regular filelist, it first
retrieves a listing of all the .svn/entries files in
$directory and all of the subdirectories.  Then, it
reads the entries file, and creates a listing of files
that are a part of the Subversion checkout.  No check is
made to see if they have been modified, but removed files
are ignored.

param: string $directory full path to the directory you want the list of
return: array list of files in a directory

_readSVNEntries($entries)   X-Ref
Iterate over the SVN Entries files, and retrieve every
file in the repository

param: array array of full paths to .svn/entries files

_getSVNEntries($svnentriesfilename)   X-Ref
Retrieve the entries in a .svn/entries file

Uses XML_Tree to parse the XML subversion file

It keeps only files, excluding directories. It also
makes sure no deleted file in included.

param: string full path to a .svn/entries file
return: array  an array with full paths to files



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7