jingmo653/sshconfig-resolve/resolve does not have a README file
pub(all) suberror ResolveError {
InvalidPort(value~ : String, source~ : SourceLocation)
UnsupportedToken(token~ : String, keyword~ : String, source~ : SourceLocation)
MissingTokenContext(token~ : String, keyword~ : String, source~ : SourceLocation)
InvalidDirectiveValue(keyword~ : String, value~ : String, message~ : String, source~ : SourceLocation)
UnsupportedMatchCondition(name~ : String, source~ : SourceLocation)
} derive(Eq, Debug)fn ResolveContext::new(host : String, port? : Int, remote_user? : String, local_user? : String, home? : String, local_hostname? : String, tags? : Array[String]) -> ResolveContextpub(all) struct ResolveOutcome {
config : ResolvedConfig
trace : ReadOnlyArray[TraceEvent]
} derive(Eq, Debug)pub struct ResolvedConfig {
values : Map[String, ResolvedValue]
ordered : Array[ResolvedValue]
} derive(Eq, Debug)pub(all) struct ResolvedValue {
keyword : String
value : String
raw : String
expanded : String
source : SourceLocation
matched_patterns : ReadOnlyArray[String]
} derive(Eq, Debug)pub(all) struct TraceEvent {
keyword : String
raw : String
expanded : String?
source : SourceLocation
matched_patterns : ReadOnlyArray[String]
decision : TraceDecision
message : String?
} derive(Eq, Debug)fn canonical_keyword(value : String) -> Stringfn expand_tokens(value : String, specification : DirectiveSpec, context : ResolveContext) -> String raise ResolveErrorfn resolve_explained(config : Config, context : ResolveContext) -> ResolveOutcome raise ResolveErrorOpenSSH client configuration parser, evaluator, and explainable resolver for MoonBit.
Dependencies