svn_cat(3) php man page | unix.com

Man Page: svn_cat

Operating Environment: php

Section: 3

SVN_CAT(3)								 1								SVN_CAT(3)

svn_cat - Returns the contents of a file in a repository

SYNOPSIS
string svn_cat (string $repos_url, [int $revision_no])
DESCRIPTION
Returns the contents of the URL $repos_url to a file in the repository, optionally at revision number $revision_no.
PARAMETERS
o $repos_url - String URL path to item in a repository. o $revision_no - Integer revision number of item to retrieve, default is the HEAD revision.
RETURN VALUES
Returns the string contents of the item from the repository on success, and FALSE on failure.
NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
EXAMPLES
Example #1 Basic example This example retrieves the contents of a file at revision 28: <?php $contents = svn_cat('http://www.example.com/svnroot/calc/gui.c', 28) ?>
SEE ALSO
svn_list(3), SVN documentation on svn cat. PHP Documentation Group SVN_CAT(3)
Related Man Pages
svnadmin(1) - redhat
svn_add(3) - php
svn_commit(3) - php
svn_log(3) - php
svn_ls(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation