mirror of
https://github.com/veeso/termscp.git
synced 2026-09-28 15:01:19 -07:00
docs: document parser and file transfer params
This commit is contained in:
@@ -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: ®ex::Captures<'_>, index: usize) -> Option<String> {
|
||||
groups.get(index).map(|group| group.as_str().to_string())
|
||||
}
|
||||
|
||||
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user