pub struct RepoBuildArgs {
pub source: String,
pub repository_url: Option<String>,
pub revision: Option<String>,
pub work_dir: PathBuf,
pub history_db: Option<PathBuf>,
pub map_db: Option<PathBuf>,
pub include: Vec<HistorySource>,
pub tags: CloneTagsMode,
pub default_branch: Option<String>,
pub max_digest_passes: usize,
pub generated_at: String,
pub out: PathBuf,
}Fields§
§source: StringAbsolute local clone path or public HTTPS repository URL.
repository_url: Option<String>Public HTTPS identity override. Required for a local clone without a usable origin.
revision: Option<String>Exact 40-hex commit to showcase. Defaults to the source’s current HEAD.
work_dir: PathBufScratch directory for the isolated checkout and two dedicated databases.
history_db: Option<PathBuf>Override the dedicated history database path.
map_db: Option<PathBuf>Override the dedicated code-map database path.
include: Vec<HistorySource>History sources to ingest. Commits are mandatory in v1.
Tag-ref policy. none is reproducible from a commit; current observes the forge now.
default_branch: Option<String>Explicit default-branch label. Omit to encode it as unavailable.
max_digest_passes: usizeMaximum git.digest passes before the pipeline refuses to loop further.
generated_at: StringExplicit RFC3339 bundle-generation timestamp.
out: PathBufDestination for canonical khive.repo.v1 JSON bytes.
Trait Implementations§
Source§impl Args for RepoBuildArgs
impl Args for RepoBuildArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for RepoBuildArgs
impl Debug for RepoBuildArgs
Source§impl FromArgMatches for RepoBuildArgs
impl FromArgMatches for RepoBuildArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for RepoBuildArgs
impl RefUnwindSafe for RepoBuildArgs
impl Send for RepoBuildArgs
impl Sync for RepoBuildArgs
impl Unpin for RepoBuildArgs
impl UnsafeUnpin for RepoBuildArgs
impl UnwindSafe for RepoBuildArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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