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 )

Description

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()

Note

This function can not be called statically.

Generate a file list from a CVS checkout (Previous) Retrieve the files from a directory listing (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.