[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

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

(pas de description)

Poids: 175 lignes (7 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_CVS:: (5 méthodes):
  dirList()
  _readCVSEntries()
  _getCVSFileName()
  _getCVSEntries()
  _isCVSFile()


Classe: PEAR_PackageFileManager_CVS  - X-Ref

Generate a file list from a CVS checkout

Note that this will <b>NOT</b> work on a
repository, only on a checked out CVS 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 CVS/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 CVS repository.  No check is
made to see if they have been modified, but newly
added or 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

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

param: array array of full paths to CVS/Entries files

_getCVSFileName($cvsentry)   X-Ref
Retrieve the filename from an entry

This method assumes that the entry is a file,
use _isCVSFile() to verify before calling
param: string a line in a CVS/Entries file
return: string the filename (no path information)

_getCVSEntries($cvsentryfilename)   X-Ref
Retrieve the entries in a CVS/Entries file

param: string full path to a CVS/Entries file
return: array each line of the entries file, output of file()

_isCVSFile($cvsentry)   X-Ref
Check whether an entry is a file or a directory

param: string a line in a CVS/Entries file
return: boolean



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