Main Page   Modules   Data Structures   File List   Data Fields  

version/format files

Version/format files. More...

Functions

svn_error_tsvn_io_read_version_file (int *version, const char *path, apr_pool_t *pool)
 Set *version to the integer that starts the file at path. More...

svn_error_tsvn_io_write_version_file (const char *path, int version, apr_pool_t *pool)
 Create (or overwrite) the file at path with new contents, formatted as a non-negative integer version followed by a single newline. More...


Detailed Description

Version/format files.


Function Documentation

svn_error_t* svn_io_read_version_file int *    version,
const char *    path,
apr_pool_t *    pool
 

Set *version to the integer that starts the file at path.

If the file does not begin with a series of digits followed by a newline, return the error SVN_ERR_BAD_VERSION_FILE_FORMAT. Use pool for all allocations.

svn_error_t* svn_io_write_version_file const char *    path,
int    version,
apr_pool_t *    pool
 

Create (or overwrite) the file at path with new contents, formatted as a non-negative integer version followed by a single newline.

On successful completion the file will be read-only. Use pool for all allocations.


Generated on Wed Aug 31 01:47:57 2005 for Subversion by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002