svn_wc_status2_t

Struct svn_wc_status2_t 

Source
#[repr(C)]
pub struct svn_wc_status2_t {
Show 18 fields pub entry: *const svn_wc_entry_t, pub text_status: svn_wc_status_kind, pub prop_status: svn_wc_status_kind, pub locked: svn_boolean_t, pub copied: svn_boolean_t, pub switched: svn_boolean_t, pub repos_text_status: svn_wc_status_kind, pub repos_prop_status: svn_wc_status_kind, pub repos_lock: *mut svn_lock_t, pub url: *const c_char, pub ood_last_cmt_rev: svn_revnum_t, pub ood_last_cmt_date: apr_time_t, pub ood_kind: svn_node_kind_t, pub ood_last_cmt_author: *const c_char, pub tree_conflict: *mut svn_wc_conflict_description_t, pub file_external: svn_boolean_t, pub pristine_text_status: svn_wc_status_kind, pub pristine_prop_status: svn_wc_status_kind,
}
Expand description

§All diffs are not yet known.

Same as svn_wc_status3_t, but without the #svn_boolean_t ‘versioned’ field. Instead an item that is not versioned has the ‘entry’ field set to @c NULL.

@since New in 1.2. @deprecated Provided for backward compatibility with the 1.6 API.

Fields§

§entry: *const svn_wc_entry_t

Can be @c NULL if not under version control.

§text_status: svn_wc_status_kind

The status of the entry itself, including its text if it is a file.

§prop_status: svn_wc_status_kind

The status of the entry’s properties.

§locked: svn_boolean_t

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

§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.).

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

§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: *mut svn_lock_t

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

§url: *const c_char

Set to the URI (actual or expected) of the item. @since New in 1.3

§ood_last_cmt_rev: svn_revnum_t

Set to the youngest committed revision, or #SVN_INVALID_REVNUM if not out of date. @since New in 1.3

§ood_last_cmt_date: apr_time_t

Set to the most recent commit date, or @c 0 if not out of date. @since New in 1.3

§ood_kind: svn_node_kind_t

Set to the node kind of the youngest commit, or #svn_node_none if not out of date. @since New in 1.3

§ood_last_cmt_author: *const c_char

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. @since New in 1.3

§tree_conflict: *mut svn_wc_conflict_description_t

Non-NULL if the entry is the victim of a tree conflict. @since New in 1.6

§file_external: svn_boolean_t

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

§pristine_text_status: svn_wc_status_kind

The actual status of the text compared to the pristine base of the file. This value isn’t masked by other working copy statuses. @c pristine_text_status is #svn_wc_status_none if this value was not calculated during the status walk. @since New in 1.6

§pristine_prop_status: svn_wc_status_kind

The actual status of the properties compared to the pristine base of the node. This value isn’t masked by other working copy statuses. @c pristine_prop_status is #svn_wc_status_none if this value was not calculated during the status walk. @since New in 1.6

Trait Implementations§

Source§

impl Default for svn_wc_status2_t

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.