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
svn_add(3) - php
svn_cleanup(3) - php
svn::look(3pm) - debian
svn::web::browse(3pm) - debian
svn::web::view(3pm) - debian
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch