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
svn_cleanup(3) - php
svn_commit(3) - php
svn_import(3) - php
svn_update(3) - php
svn::look(3pm) - debian
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator