Output the content of a file.
- Parameters:
-
[in] | out | The stream to which the content will be written. |
[in] | path_or_url | The path or URL of the file. |
[in] | peg_revision | The peg revision. |
[in] | revision | The operative revision. |
[in] | ctx | The standard client context, used for possible authentication. |
[in] | pool | Used for any temporary allocation. |
- Todo:
- Add an expansion/translation flag?
- Returns:
- A pointer to an svn_error_t of the type (this list is not exhaustive):
An unspecified error if revision is of kind svn_opt_revision_previous (or some other kind that requires
a local path), because the desired revision cannot be determined.
If no error occurred, return SVN_NO_ERROR.
- Since:
- New in 1.2.
- See also:
- svn_client_ctx_t
Revisions and Peg Revisions for a discussion of operative and peg revisions.