#[repr(C)]pub struct svn_info_t {Show 27 fields
pub URL: *const c_char,
pub rev: svn_revnum_t,
pub kind: svn_node_kind_t,
pub repos_root_URL: *const c_char,
pub repos_UUID: *const c_char,
pub last_changed_rev: svn_revnum_t,
pub last_changed_date: apr_time_t,
pub last_changed_author: *const c_char,
pub lock: *mut svn_lock_t,
pub has_wc_info: svn_boolean_t,
pub schedule: svn_wc_schedule_t,
pub copyfrom_url: *const c_char,
pub copyfrom_rev: svn_revnum_t,
pub text_time: apr_time_t,
pub prop_time: apr_time_t,
pub checksum: *const c_char,
pub conflict_old: *const c_char,
pub conflict_new: *const c_char,
pub conflict_wrk: *const c_char,
pub prejfile: *const c_char,
pub changelist: *const c_char,
pub depth: svn_depth_t,
pub working_size: apr_size_t,
pub size: apr_size_t,
pub size64: svn_filesize_t,
pub working_size64: svn_filesize_t,
pub tree_conflict: *mut svn_wc_conflict_description_t,
}
Expand description
A structure which describes various system-generated metadata about a working-copy path or URL.
@note Fields may be added to the end of this structure in future versions. Therefore, users shouldn’t allocate structures of this type, to preserve binary compatibility.
@since New in 1.2. @deprecated Provided for backward compatibility with the 1.6 API. The new API is #svn_client_info2_t.
Fields§
§URL: *const c_char
Where the item lives in the repository.
rev: svn_revnum_t
The revision of the object. If path_or_url is a working-copy path, then this is its current working revnum. If path_or_url is a URL, then this is the repos revision that path_or_url lives in.
kind: svn_node_kind_t
The node’s kind.
repos_root_URL: *const c_char
The root URL of the repository.
repos_UUID: *const c_char
The repository’s UUID.
last_changed_rev: svn_revnum_t
The last revision in which this object changed.
last_changed_date: apr_time_t
The date of the last_changed_rev.
The author of the last_changed_rev.
lock: *mut svn_lock_t
An exclusive lock, if present. Could be either local or remote.
has_wc_info: svn_boolean_t
Whether or not to ignore the next 10 wc-specific fields.
schedule: svn_wc_schedule_t
@name Working-copy path fields These things only apply to a working-copy path. See svn_wc_entry_t for explanations. @{
copyfrom_url: *const c_char
§copyfrom_rev: svn_revnum_t
§text_time: apr_time_t
§prop_time: apr_time_t
§checksum: *const c_char
§conflict_old: *const c_char
§conflict_new: *const c_char
§conflict_wrk: *const c_char
§prejfile: *const c_char
§changelist: *const c_char
@since New in 1.5.
depth: svn_depth_t
@since New in 1.5.
working_size: apr_size_t
Similar to working_size64, but will be #SVN_INFO_SIZE_UNKNOWN when its value would overflow apr_size_t (so when size >= 4 GB - 1 byte).
@deprecated Provided for backward compatibility with the 1.5 API.
size: apr_size_t
Similar to size64, but size will be #SVN_INFO_SIZE_UNKNOWN when its value would overflow apr_size_t (so when size >= 4 GB - 1 byte).
@deprecated Provided for backward compatibility with the 1.5 API.
size64: svn_filesize_t
The size of the file in the repository (untranslated, e.g. without adjustment of line endings and keyword expansion). Only applicable for file – not directory – URLs. For working copy paths, size64 will be #SVN_INVALID_FILESIZE. @since New in 1.6.
working_size64: svn_filesize_t
The size of the file after being translated into its local representation, or #SVN_INVALID_FILESIZE if unknown. Not applicable for directories. @since New in 1.6. @name Working-copy path fields @{
tree_conflict: *mut svn_wc_conflict_description_t
Info on any tree conflict of which this node is a victim. Otherwise NULL. @since New in 1.6.