(workspaceRef string, channel string)
| 5727 | } |
| 5728 | |
| 5729 | func networkChannelPath(workspaceRef string, channel string) (string, error) { |
| 5730 | base, err := networkBasePath(workspaceRef) |
| 5731 | if err != nil { |
| 5732 | return "", err |
| 5733 | } |
| 5734 | channel, err = requireNetworkPathValue("channel", channel) |
| 5735 | if err != nil { |
| 5736 | return "", err |
| 5737 | } |
| 5738 | return base + "/channels/" + url.PathEscape(channel), nil |
| 5739 | } |
| 5740 | |
| 5741 | func networkThreadPath(workspaceRef string, channel string, threadID string) (string, error) { |
| 5742 | path, err := networkChannelPath(workspaceRef, channel) |
no test coverage detected