PEAR_PackageFileManager_CVS::dirList

PEAR_PackageFileManager_CVS::dirList() – Return a list of all files in the CVS repository

Synopsis

require_once 'PEAR/PackageFileManager/Cvs.php';

array PEAR_PackageFileManager_CVS::dirList ( string $directory )

Описание

This function is like 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.

Parameter

string $directory

full path to the directory you want the list of

Return value

returns list of files in a directory

Throws

throws no exceptions thrown

See

see _readCVSEntries()

see _recurDirList()

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ