pub struct SplitConfig {
pub crate_name: String,
pub crate_paths: Vec<PathBuf>,
pub mode: SplitMode,
pub workspace_mode: WorkspaceMode,
pub target_repo_path: PathBuf,
pub branch: String,
pub remote_url: Option<String>,
pub include: Vec<String>,
pub exclude: Vec<String>,
}Expand description
Configuration for a split operation
Fields§
§crate_name: StringName of the crate being split
crate_paths: Vec<PathBuf>Paths to crate directories in monorepo
mode: SplitModeSplit mode (single or combined)
workspace_mode: WorkspaceModeWorkspace mode (standalone or workspace)
target_repo_path: PathBufTarget repository path
branch: StringBranch name for split repo
remote_url: Option<String>Remote repository URL
include: Vec<String>Additional files/directories to include (glob patterns)
exclude: Vec<String>Files/directories to exclude (glob patterns)
Auto Trait Implementations§
impl Freeze for SplitConfig
impl RefUnwindSafe for SplitConfig
impl Send for SplitConfig
impl Sync for SplitConfig
impl Unpin for SplitConfig
impl UnwindSafe for SplitConfig
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more