PEAR_PackageFileManager
[ class tree: PEAR_PackageFileManager ] [ index: PEAR_PackageFileManager ] [ all elements ]

Class: PEAR_PackageFileManager_CVS

Source Location: /PEAR_PackageFileManager-1.6.3/PackageFileManager/Cvs.php

Class Overview

PEAR_PackageFileManager_File
   |
   --PEAR_PackageFileManager_CVS

Generate a file list from a CVS checkout.


Author(s):

Version:

  • Release: 1.6.3

Copyright:

  • 2003-2007 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: PEAR_PackageFileManager_File

PEAR_PackageFileManager_File::PEAR_PackageFileManager_File()
Set up the File filelist generator
PEAR_PackageFileManager_File::dirList()
Retrieve a listing of every file in $directory and all subdirectories.
PEAR_PackageFileManager_File::getFileList()
Generate the <filelist></filelist> section of the package file.

Class Details

[line 42]
Generate a file list from a CVS checkout.

Note that this will NOT work on a repository, only on a checked out CVS module



[ Top ]


Method Detail

dirList   [line 70]

array dirList( string $directory)

Return a list of all files in the CVS repository

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.

  • Return: list of files in a directory
  • Uses: _recurDirList()
  • Uses: _readCVSEntries()

Overrides PEAR_PackageFileManager_File::dirList() (Retrieve a listing of every file in $directory and all subdirectories.)

Parameters:

string   $directory     full path to the directory you want the list of

[ Top ]


Documentation generated on Tue, 20 Nov 2007 15:30:12 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.