php man page for svn_cat

Query: svn_cat

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_status(3) - php
svn_commit(3) - php
svn_diff(3) - php
svn::web::view(3pm) - debian
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions 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