pub unsafe extern "C" fn svn_ra_get_dir2(
session: *mut svn_ra_session_t,
dirents: *mut *mut apr_hash_t,
fetched_rev: *mut svn_revnum_t,
props: *mut *mut apr_hash_t,
path: *const c_char,
revision: svn_revnum_t,
dirent_fields: apr_uint32_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
If @a dirents is non @c NULL, set @a *dirents to contain all the entries of directory @a path at @a revision. The keys of @a dirents will be entry names (const char *), and the values dirents (@c svn_dirent_t *). Use @a pool for all allocations.
@a dirent_fields controls which portions of the @c svn_dirent_t objects are filled in. To have them completely filled in just pass @c SVN_DIRENT_ALL, otherwise pass the bitwise OR of all the @c SVN_DIRENT_ fields you would like to have returned to you.
@a path is interpreted relative to the URL in @a session.
If @a revision is @c SVN_INVALID_REVNUM (meaning ‘head’) and @a fetched_rev is not @c NULL, then this function will set @a *fetched_rev to the actual revision that was retrieved. (Some callers want to know, and some don’t.)
If @a props is non @c NULL, set @a *props to contain the properties of the directory, including properties that are non-tweakable and generated by the SCM system itself (such as #svn_prop_wc_kind and #svn_prop_entry_kind properties). The keys are const char *, values are @c svn_string_t *.
@since New in 1.4.