| 17 | } |
| 18 | |
| 19 | type ParsedURL struct { |
| 20 | Protocol string |
| 21 | User string |
| 22 | Password string |
| 23 | Host string |
| 24 | Port int |
| 25 | Path string |
| 26 | Reference string |
| 27 | Cleaned string |
| 28 | } |
| 29 | |
| 30 | // ParseRepoURL parses the given repository URL into its components. |
| 31 | // We used to use chainguard-dev/git-urls for this, but its behaviour |
nothing calls this directly
no outgoing calls
no test coverage detected