docs: document parser and file transfer params

This commit is contained in:
Christian Visintin
2026-04-19 01:54:46 +05:30
parent 08509caf1b
commit 7e10b8e68b
6 changed files with 58 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
//! ## Parser Credential Helpers
//!
//! Shared capture-group helpers used by parser submodules when extracting
//! credentials and required fields from regex matches.
pub(super) fn optional_capture(groups: &regex::Captures<'_>, index: usize) -> Option<String> {
groups.get(index).map(|group| group.as_str().to_string())
}
+5
View File
@@ -1,3 +1,8 @@
//! ## Parser Remote Helpers
//!
//! Implements protocol-specific parsing for remote connection strings while
//! keeping the public parser API stable.
use std::path::PathBuf;
#[cfg(smb)]