#[repr(C)]pub struct svn_wc_external_item2_t {
pub target_dir: *const c_char,
pub url: *const c_char,
pub revision: svn_opt_revision_t,
pub peg_revision: svn_opt_revision_t,
}
Expand description
One external item. This usually represents one line from an svn:externals description but with the path and URL canonicalized.
In order to avoid backwards compatibility problems clients should use svn_wc_external_item2_create() to allocate and initialize this structure instead of doing so themselves.
@since New in 1.5.
Fields§
§target_dir: *const c_char
The name of the subdirectory into which this external should be checked out. This is relative to the parent directory that holds this external item. (Note that these structs are often stored in hash tables with the target dirs as keys, so this field will often be redundant.)
url: *const c_char
Where to check out from. This is possibly a relative external URL, as allowed in externals definitions, but without the peg revision.
revision: svn_opt_revision_t
What revision to check out. The only valid kinds for this are svn_opt_revision_number, svn_opt_revision_date, and svn_opt_revision_head.
peg_revision: svn_opt_revision_t
The peg revision to use when checking out. The only valid kinds are svn_opt_revision_number, svn_opt_revision_date, and svn_opt_revision_head.