mirror of
https://github.com/veeso/termscp.git
synced 2026-03-31 23:32:20 -07:00
docs: complete remaining core module docs
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
//! ## termscp
|
||||
//!
|
||||
//! Binary entry point for argument parsing, logging setup, and activity
|
||||
//! manager startup.
|
||||
|
||||
mod activity_manager;
|
||||
mod cli;
|
||||
mod config;
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
//! ## Parser Port Helpers
|
||||
//!
|
||||
//! Shared helpers for resolving default protocol ports and parsing explicit
|
||||
//! port captures from remote connection strings.
|
||||
|
||||
use crate::filetransfer::FileTransferProtocol;
|
||||
|
||||
pub(super) fn default_port_for_protocol(protocol: FileTransferProtocol) -> u16 {
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
//! ## Parser Protocol Helpers
|
||||
//!
|
||||
//! Detects the protocol prefix for remote connection strings and returns the
|
||||
//! remaining address payload.
|
||||
|
||||
use std::str::FromStr;
|
||||
|
||||
use super::REMOTE_OPT_PROTOCOL_REGEX;
|
||||
|
||||
Reference in New Issue
Block a user