pub struct WcInfo(/* private fields */);Expand description
Information about a working copy item.
Implementations§
Source§impl WcInfo
impl WcInfo
Sourcepub fn dup(&self) -> OwnedWcInfo
pub fn dup(&self) -> OwnedWcInfo
Duplicate this WcInfo into an owned copy that outlives the callback.
Sourcepub fn schedule(&self) -> svn_wc_schedule_t
pub fn schedule(&self) -> svn_wc_schedule_t
Returns the schedule of this item (normal, add, delete, replace).
Sourcepub fn copyfrom_url(&self) -> Option<&str>
pub fn copyfrom_url(&self) -> Option<&str>
If copied, the URL from which the copy was made.
Sourcepub fn copyfrom_rev(&self) -> Option<Revnum>
pub fn copyfrom_rev(&self) -> Option<Revnum>
If copied, the revision from which the copy was made.
Sourcepub fn changelist(&self) -> Option<&str>
pub fn changelist(&self) -> Option<&str>
The changelist the item is in, if any.
Sourcepub fn depth(&self) -> svn_depth_t
pub fn depth(&self) -> svn_depth_t
The depth of the item.
Sourcepub fn recorded_size(&self) -> i64
pub fn recorded_size(&self) -> i64
The size of the file after translation into its local representation,
or SVN_INVALID_FILESIZE if unknown.
Sourcepub fn recorded_time(&self) -> Time
pub fn recorded_time(&self) -> Time
The time at which the file had the recorded size and was considered unmodified.
Sourcepub fn wcroot_abspath(&self) -> Option<&str>
pub fn wcroot_abspath(&self) -> Option<&str>
The local absolute path of the working copy root.
Sourcepub fn moved_from_abspath(&self) -> Option<&str>
pub fn moved_from_abspath(&self) -> Option<&str>
The path the node was moved from, if it was moved here.
Sourcepub fn moved_to_abspath(&self) -> Option<&str>
pub fn moved_to_abspath(&self) -> Option<&str>
The path the node was moved to, if it was moved away.
Auto Trait Implementations§
impl Freeze for WcInfo
impl RefUnwindSafe for WcInfo
impl !Send for WcInfo
impl !Sync for WcInfo
impl Unpin for WcInfo
impl UnsafeUnpin for WcInfo
impl UnwindSafe for WcInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more