Skip to content

Commit df322c4

Browse files
mikolalysenkoclaude
andcommitted
refactor(scan): add module docs to scan/mod.rs, tidy blank line (move-only cleanup)
Final pass of the scan.rs -> scan/ split: module-level docs describing the submodule layout and one leftover double blank line. Zero behavior change; full gate green (scan gate suite, --lib 303 tests, clippy --all-targets zero warnings, interactive_prompts_e2e). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 404a353 commit df322c4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

  • crates/socket-patch-cli/src/commands/scan

crates/socket-patch-cli/src/commands/scan/mod.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
//! The `scan` command: crawl installed (and lockfile-resolved) packages,
2+
//! query the patch API for available patches, and optionally consume them
3+
//! in one of three modes — hosted (`hosted::run_redirect`), vendored
4+
//! (`vendor_flow`), or agent (in-place apply) — with an optional GC pass
5+
//! (`gc`) and discovery helpers (`discovery`). This module keeps the CLI
6+
//! surface (`ScanArgs`, `ScanMode`, `resolve_mode_flags`, `run`) and the
7+
//! small helpers shared across the submodules.
8+
19
use clap::Args;
210
use socket_patch_core::api::client::{
311
build_proxy_fallback_client, get_api_client_with_overrides, is_fallback_candidate,
@@ -38,7 +46,6 @@ use self::vendor_flow::{
3846

3947
const DEFAULT_BATCH_SIZE: usize = 100;
4048

41-
4249
/// The three patch-application modes `scan` can drive, selectable via
4350
/// `--mode` (the documented spelling). Each variant is equivalent to one
4451
/// legacy boolean flag, which remains supported as an alias.

0 commit comments

Comments
 (0)