mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fmt
This commit is contained in:
@@ -25,11 +25,17 @@ pub struct AnalyzeParams {
|
||||
pub focus: Option<String>,
|
||||
|
||||
/// Call graph depth. 0=where defined, 1=direct callers/callees, 2+=transitive chains
|
||||
#[serde(default = "default_follow_depth", deserialize_with = "deserialize_string_or_u32")]
|
||||
#[serde(
|
||||
default = "default_follow_depth",
|
||||
deserialize_with = "deserialize_string_or_u32"
|
||||
)]
|
||||
pub follow_depth: u32,
|
||||
|
||||
/// Directory recursion limit. 0=unlimited (warning: fails on binary files)
|
||||
#[serde(default = "default_max_depth", deserialize_with = "deserialize_string_or_u32")]
|
||||
#[serde(
|
||||
default = "default_max_depth",
|
||||
deserialize_with = "deserialize_string_or_u32"
|
||||
)]
|
||||
pub max_depth: u32,
|
||||
|
||||
/// Maximum depth for recursive AST traversal (prevents stack overflow in deeply nested code)
|
||||
|
||||
Reference in New Issue
Block a user