Functions | |
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. More... | |
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. More... |
|
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 |
|
Create (or overwrite) the file at path with new contents, formatted as a non-negative integer version followed by a single newline. Use pool for all allocations. |