svn_fs_type

Function svn_fs_type 

Source
pub unsafe extern "C" fn svn_fs_type(
    fs_type: *mut *const c_char,
    path: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Return, in @a *fs_type, a string identifying the back-end type of the Subversion filesystem located in @a path. Allocate @a *fs_type in @a pool.

The string should be equal to one of the @c SVN_FS_TYPE_* defined constants, unless the filesystem is a new back-end type added in a later version of Subversion.

In general, the type should make no difference in the filesystem’s semantics, but there are a few situations (such as backups) where it might matter.

@since New in 1.3.