pub unsafe extern "C" fn svn_wc_entry(
entry: *mut *const svn_wc_entry_t,
path: *const c_char,
adm_access: *mut svn_wc_adm_access_t,
show_hidden: svn_boolean_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Set @a *entry to an entry for @a path, allocated in the access baton pool. If @a show_hidden is TRUE, return the entry even if it’s in ‘excluded’, ‘deleted’ or ‘absent’ state. Excluded entries are those with their depth set to #svn_depth_exclude. If @a path is not under revision control, or if entry is hidden, not scheduled for re-addition, and @a show_hidden is @c FALSE, then set @a *entry to @c NULL.
@a *entry should not be modified, since doing so modifies the entries cache in @a adm_access without changing the entries file on disk.
If @a path is not a directory then @a adm_access must be an access baton for the parent directory of @a path. To avoid needing to know whether @a path is a directory or not, if @a path is a directory @a adm_access can still be an access baton for the parent of @a path so long as the access baton for @a path itself is in the same access baton set.
@a path can be relative or absolute but must share the same base used to open @a adm_access.
Note that it is possible for @a path to be absent from disk but still under revision control; and conversely, it is possible for @a path to be present, but not under revision control.
Use @a pool only for local processing.
@deprecated Provided for backward compatibility with the 1.6 API.