Struct git2::PushUpdate
source · pub struct PushUpdate<'a> { /* private fields */ }
Expand description
Represents an update which will be performed on the remote during push.
Implementations§
source§impl PushUpdate<'_>
impl PushUpdate<'_>
sourcepub fn src_refname_bytes(&self) -> &[u8] ⓘ
pub fn src_refname_bytes(&self) -> &[u8] ⓘ
Returns the source name of the reference as a byte slice.
sourcepub fn src_refname(&self) -> Option<&str>
pub fn src_refname(&self) -> Option<&str>
Returns the source name of the reference.
sourcepub fn dst_refname_bytes(&self) -> &[u8] ⓘ
pub fn dst_refname_bytes(&self) -> &[u8] ⓘ
Returns the destination name of the reference as a byte slice.
sourcepub fn dst_refname(&self) -> Option<&str>
pub fn dst_refname(&self) -> Option<&str>
Returns the destination name of the reference.