#[repr(C)]pub struct svn_wc_status3_t {Show 32 fields
pub kind: svn_node_kind_t,
pub depth: svn_depth_t,
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 copied: svn_boolean_t,
pub revision: svn_revnum_t,
pub changed_rev: svn_revnum_t,
pub changed_date: apr_time_t,
pub changed_author: *const c_char,
pub repos_root_url: *const c_char,
pub repos_uuid: *const c_char,
pub repos_relpath: *const c_char,
pub switched: svn_boolean_t,
pub locked: svn_boolean_t,
pub lock: *const svn_lock_t,
pub changelist: *const c_char,
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 moved_from_abspath: *const c_char,
pub moved_to_abspath: *const c_char,
pub file_external: svn_boolean_t,
pub actual_kind: svn_node_kind_t,
}
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_t
The kind of node as recorded in the working copy
depth: svn_depth_t
The depth of the node as recorded in the working copy (#svn_depth_unknown for files or when no depth is set)
filesize: svn_filesize_t
The 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_t
If the path is under version control, versioned is TRUE, otherwise FALSE.
conflicted: svn_boolean_t
Set to TRUE if the item is the victim of a conflict.
node_status: svn_wc_status_kind
The status of the node itself. In order of precedence: Obstructions, structural changes, text changes.
text_status: svn_wc_status_kind
The status of the entry’s text.
prop_status: svn_wc_status_kind
The status of the entry’s properties.
copied: svn_boolean_t
a file or directory can be ‘copied’ if it’s scheduled for addition-with-history (or part of a subtree that is scheduled as such.).
revision: svn_revnum_t
Base revision.
changed_rev: svn_revnum_t
Last revision this was changed
changed_date: apr_time_t
Date of last commit.
Last commit author of this item
repos_root_url: *const c_char
The URL of the repository
repos_uuid: *const c_char
The UUID of the repository
repos_relpath: *const c_char
The in-repository path relative to the repository root.
switched: svn_boolean_t
a file or directory can be ‘switched’ if the switch command has been used. If this is TRUE, then file_external will be FALSE.
locked: svn_boolean_t
This directory has a working copy lock
lock: *const svn_lock_t
The repository file lock. (Values of path, token, owner, comment and are available if a lock is present)
changelist: *const c_char
Which changelist this item is part of, or NULL if not part of any.
ood_kind: svn_node_kind_t
Set to the node kind of the youngest commit, or #svn_node_none if not out of date.
repos_node_status: svn_wc_status_kind
The status of the node, based on the text status if the node has no restructuring changes
repos_text_status: svn_wc_status_kind
The entry’s text status in the repository.
repos_prop_status: svn_wc_status_kind
The entry’s property status in the repository.
repos_lock: *const svn_lock_t
The entry’s lock in the repository, if any.
ood_changed_rev: svn_revnum_t
Set to the youngest committed revision, or #SVN_INVALID_REVNUM if not out of date.
ood_changed_date: apr_time_t
Set 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_last_cmt_rev to determine whether the working copy is out of date.
moved_from_abspath: *const c_char
Set 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_char
Set 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.
file_external: svn_boolean_t
@c TRUE iff the item is a file brought in by an svn:externals definition. @since New in 1.8.
actual_kind: svn_node_kind_t
The actual kind of the node in the working copy. May differ from @a kind on obstructions, deletes, etc. #svn_node_unknown if unavailable.
@since New in 1.9