#[repr(C)]pub struct svn_client_status_t {Show 33 fields
pub kind: svn_node_kind_t,
pub local_abspath: *const c_char,
pub filesize: svn_filesize_t,
pub versioned: svn_boolean_t,
pub conflicted: svn_boolean_t,
pub node_status: svn_wc_status_kind,
pub text_status: svn_wc_status_kind,
pub prop_status: svn_wc_status_kind,
pub wc_is_locked: svn_boolean_t,
pub copied: svn_boolean_t,
pub repos_root_url: *const c_char,
pub repos_uuid: *const c_char,
pub repos_relpath: *const c_char,
pub revision: svn_revnum_t,
pub changed_rev: svn_revnum_t,
pub changed_date: apr_time_t,
pub changed_author: *const c_char,
pub switched: svn_boolean_t,
pub file_external: svn_boolean_t,
pub lock: *const svn_lock_t,
pub changelist: *const c_char,
pub depth: svn_depth_t,
pub ood_kind: svn_node_kind_t,
pub repos_node_status: svn_wc_status_kind,
pub repos_text_status: svn_wc_status_kind,
pub repos_prop_status: svn_wc_status_kind,
pub repos_lock: *const svn_lock_t,
pub ood_changed_rev: svn_revnum_t,
pub ood_changed_date: apr_time_t,
pub ood_changed_author: *const c_char,
pub backwards_compatibility_baton: *const c_void,
pub moved_from_abspath: *const c_char,
pub moved_to_abspath: *const c_char,
}Expand description
Structure for holding the “status” of a working copy item.
@note Fields may be added to the end of this structure in future versions. Therefore, to preserve binary compatibility, users should not directly allocate structures of this type.
@since New in 1.7.
Fields§
§kind: svn_node_kind_tThe kind of node as recorded in the working copy
local_abspath: *const c_charThe absolute path to the node
filesize: svn_filesize_tThe actual size of the working file on disk, or SVN_INVALID_FILESIZE if unknown (or if the item isn’t a file at all).
versioned: svn_boolean_tIf the path is under version control, versioned is TRUE, otherwise FALSE.
conflicted: svn_boolean_tSet to TRUE if the node is the victim of some kind of conflict.
node_status: svn_wc_status_kindThe status of the node, based on the restructuring changes and if the node has no restructuring changes the text and prop status.
text_status: svn_wc_status_kindThe status of the text of the node, not including restructuring changes. Valid values are: svn_wc_status_none, svn_wc_status_normal, svn_wc_status_modified and svn_wc_status_conflicted.
prop_status: svn_wc_status_kindThe status of the node’s properties. Valid values are: svn_wc_status_none, svn_wc_status_normal, svn_wc_status_modified and svn_wc_status_conflicted.
wc_is_locked: svn_boolean_tA node can be ‘locked’ if a working copy update is in progress or was interrupted.
copied: svn_boolean_tA file or directory can be ‘copied’ if it’s scheduled for addition-with-history (or part of a subtree that is scheduled as such.).
repos_root_url: *const c_charThe URL of the repository root.
repos_uuid: *const c_charThe UUID of the repository
repos_relpath: *const c_charThe in-repository path relative to the repository root.
revision: svn_revnum_tBase revision.
changed_rev: svn_revnum_tLast revision this was changed
changed_date: apr_time_tDate of last commit.
Last commit author of this item
switched: svn_boolean_tA file or directory can be ‘switched’ if the switch command has been used. If this is TRUE, then file_external will be FALSE.
file_external: svn_boolean_tIf the item is a file that was added to the working copy with an svn:externals; if file_external is TRUE, then switched is always FALSE.
lock: *const svn_lock_tThe locally present lock. (Values of path, token, owner, comment and are available if a lock is present)
changelist: *const c_charWhich changelist this item is part of, or NULL if not part of any.
depth: svn_depth_tThe depth of the node as recorded in the working copy (#svn_depth_unknown for files or when no depth is recorded)
ood_kind: svn_node_kind_tSet to the node kind of the youngest commit, or #svn_node_none if not out of date.
repos_node_status: svn_wc_status_kindThe status of the node, based on the text status if the node has no restructuring changes
repos_text_status: svn_wc_status_kindThe node’s text status in the repository.
repos_prop_status: svn_wc_status_kindThe node’s property status in the repository.
repos_lock: *const svn_lock_tThe node’s lock in the repository, if any.
ood_changed_rev: svn_revnum_tSet to the youngest committed revision, or #SVN_INVALID_REVNUM if not out of date.
ood_changed_date: apr_time_tSet to the most recent commit date, or @c 0 if not out of date.
Set to the user name of the youngest commit, or @c NULL if not out of date or non-existent. Because a non-existent @c svn:author property has the same behavior as an out-of-date working copy, examine @c ood_changed_rev to determine whether the working copy is out of date.
backwards_compatibility_baton: *const c_voidReserved for libsvn_client’s internal use; this value is only to be used for libsvn_client backwards compatibility wrappers. This value may be NULL or to other data in future versions.
moved_from_abspath: *const c_charSet to the local absolute path that this node was moved from, if this file or directory has been moved here locally and is the root of that move. Otherwise set to NULL.
This will be NULL for moved-here nodes that are just part of a subtree that was moved along (and are not themselves a root of a different move operation).
@since New in 1.8.
moved_to_abspath: *const c_charSet to the local absolute path that this node was moved to, if this file or directory has been moved away locally and corresponds to the root of the destination side of the move. Otherwise set to NULL.
Note: Saying just “root” here could be misleading. For example: svn mv A AA; svn mv AA/B BB; creates a situation where A/B is moved-to BB, but one could argue that the move source’s root actually was AA/B. Note that, as far as the working copy is concerned, above case is exactly identical to: svn mv A/B BB; svn mv A AA; In both situations, @a moved_to_abspath would be set for nodes A (moved to AA) and A/B (moved to BB), only.
This will be NULL for moved-away nodes that were just part of a subtree that was moved along (and are not themselves a root of a different move operation).
@since New in 1.8.