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 repositorySYNOPSISstring svn_cat (string $repos_url, [int $revision_no])DESCRIPTIONReturns the contents of the URL $repos_url to a file in the repository, optionally at revision number $revision_no.PARAMETERSo $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 VALUESReturns the string contents of the item from the repository on success, and FALSE on failure.NOTESWarning 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.EXAMPLESExample #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 ALSOsvn_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 |