Subversion 1.6.16
Data Fields

svn_wc_status2_t Struct Reference

Structure for holding the "status" of a working copy item. More...

#include <svn_wc.h>

Data Fields

svn_wc_entry_tentry
 Can be NULL if not under version control.
enum svn_wc_status_kind text_status
 The status of the entries text.
enum svn_wc_status_kind prop_status
 The status of the entries properties.
svn_boolean_t locked
 a directory can be 'locked' if a working copy update was interrupted.
svn_boolean_t copied
 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.).
svn_boolean_t switched
 a file or directory can be 'switched' if the switch command has been used.
enum svn_wc_status_kind repos_text_status
 The entry's text status in the repository.
enum svn_wc_status_kind repos_prop_status
 The entry's property status in the repository.
svn_lock_trepos_lock
 The entry's lock in the repository, if any.
const char * url
 Set to the URI (actual or expected) of the item.
svn_revnum_t ood_last_cmt_rev
 Set to the youngest committed revision, or SVN_INVALID_REVNUM if not out of date.
apr_time_t ood_last_cmt_date
 Set to the most recent commit date, or 0 if not out of date.
svn_node_kind_t ood_kind
 Set to the node kind of the youngest commit, or svn_node_none if not out of date.
const char * ood_last_cmt_author
 Set to the user name of the youngest commit, or NULL if not out of date or non-existent.
svn_wc_conflict_description_ttree_conflict
 Non-NULL if the entry is the victim of a tree conflict.
svn_boolean_t file_external
 If 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.
enum svn_wc_status_kind pristine_text_status
 The actual status of the text compared to the pristine base of the file.
enum svn_wc_status_kind pristine_prop_status
 The actual status of the properties compared to the pristine base of the node.

Detailed Description

Structure for holding the "status" of a working copy item.

The item's entry data is in entry, augmented and possibly shadowed by the other fields. entry is NULL if this item is not under version control.

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.2.

Definition at line 2714 of file svn_wc.h.


Field Documentation

Can be NULL if not under version control.

Definition at line 2717 of file svn_wc.h.

If 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.

Since:
New in 1.6

Definition at line 2801 of file svn_wc.h.

a directory can be 'locked' if a working copy update was interrupted.

Definition at line 2726 of file svn_wc.h.

The actual status of the properties compared to the pristine base of the node.

This value isn't masked by other working copy statuses. pristine_prop_status is svn_wc_status_none if this value was not calculated during the status walk.

Since:
New in 1.6

Definition at line 2817 of file svn_wc.h.

The actual status of the text compared to the pristine base of the file.

This value isn't masked by other working copy statuses. pristine_text_status is svn_wc_status_none if this value was not calculated during the status walk.

Since:
New in 1.6

Definition at line 2809 of file svn_wc.h.

The status of the entries properties.

Definition at line 2723 of file svn_wc.h.

The entry's lock in the repository, if any.

Definition at line 2745 of file svn_wc.h.

The entry's property status in the repository.

Definition at line 2742 of file svn_wc.h.

The entry's text status in the repository.

Definition at line 2739 of file svn_wc.h.

a file or directory can be 'switched' if the switch command has been used.

If this is TRUE, then file_external will be FALSE.

Definition at line 2736 of file svn_wc.h.

The status of the entries text.

Definition at line 2720 of file svn_wc.h.

Non-NULL if the entry is the victim of a tree conflict.

Since:
New in 1.6

Definition at line 2794 of file svn_wc.h.

const char* svn_wc_status2_t::url

Set to the URI (actual or expected) of the item.

Since:
New in 1.3

Definition at line 2750 of file svn_wc.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines