svn_fs_berkeley_logfiles

Function svn_fs_berkeley_logfiles 

Source
pub unsafe extern "C" fn svn_fs_berkeley_logfiles(
    logfiles: *mut *mut apr_array_header_t,
    path: *const c_char,
    only_unused: svn_boolean_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Set @a *logfiles to an array of const char * log file names of Berkeley DB-based Subversion filesystem.

If @a only_unused is @c TRUE, set @a *logfiles to an array which contains only the names of Berkeley DB log files no longer in use by the filesystem. Otherwise, all log files (used and unused) are returned.

This function wraps the Berkeley DB ‘log_archive’ function called by the db_archive binary. Repository administrators may want to run this function periodically and delete the unused log files, as a way of reclaiming disk space.