Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScpDestinationGrammar ¶
type ScpDestinationGrammar struct { User string `parser:"(@Ident \"@\")?"` Host string `parser:"@Ident \":\" "` Path string `parser:"@Ident?"` }
1. host:path 2. host: 3. user@host:path 4. user@host:
func ParseScpDestination ¶
func ParseScpDestination(input string) (*ScpDestinationGrammar, error)
Click to show internal directories.
Click to hide internal directories.