pub enum SemanticCommands {
Hot {
from: Option<String>,
limit: usize,
by: HotSpotKeyArg,
kinds: Vec<HotEventKindArg>,
include_paths: Vec<String>,
exclude_paths: Vec<String>,
top: usize,
include_actors: bool,
},
}Variants§
Hot
Aggregate semantic-change events across recent history and surface the files or functions with the most activity.
Use this to find: review-worthy hot spots (“which files are
churning”), API stability signals (--kind signature_changed
for a list of “your unstable surface area”), and annotation
candidates (--by function --include-actors for “functions
many people touched recently — context would help”).
Fields
limit: usizeWalk at most this many state pairs. Higher = more signal, linearly more compute. Default tuned for sub-10s runs on typical project history.
by: HotSpotKeyArgWhat to bucket on.
kinds: Vec<HotEventKindArg>Restrict to specific event kinds. Repeat the flag for multiple kinds. No flag = all kinds.
include_paths: Vec<String>Substring path filter — include only events whose path contains any of these substrings. Repeatable.
Trait Implementations§
Source§impl Clone for SemanticCommands
impl Clone for SemanticCommands
Source§fn clone(&self) -> SemanticCommands
fn clone(&self) -> SemanticCommands
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl FromArgMatches for SemanticCommands
impl FromArgMatches for SemanticCommands
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>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for SemanticCommands
impl Subcommand for SemanticCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for SemanticCommands
impl RefUnwindSafe for SemanticCommands
impl Send for SemanticCommands
impl Sync for SemanticCommands
impl Unpin for SemanticCommands
impl UnsafeUnpin for SemanticCommands
impl UnwindSafe for SemanticCommands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request