pub unsafe extern "C" fn svn_stream_open_writable(
stream: *mut *mut svn_stream_t,
path: *const c_char,
result_pool: *mut apr_pool_t,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Create a stream to write a file at @a path. The file will be created using the APR_BUFFERED and APR_BINARY flag, and APR_OS_DEFAULT for the perms. The file will be created “exclusively”, so if it already exists, then an error will be thrown. If you’d like to use different values, or open an existing file, then open the file yourself, and use the svn_stream_from_aprfile2() interface.
The stream will be returned in @a stream, and allocated from @a result_pool. Temporary allocations will be performed in @a scratch_pool.
@since New in 1.6