(prefix, path string)
| 228 | } |
| 229 | |
| 230 | func getGroupPath(prefix, path string) string { |
| 231 | if path == "" { |
| 232 | return prefix |
| 233 | } |
| 234 | |
| 235 | if path[0] != '/' { |
| 236 | path = "/" + path |
| 237 | } |
| 238 | |
| 239 | return utils.TrimRight(prefix, '/') + path |
| 240 | } |
| 241 | |
| 242 | // acceptsOffer determines if an offer matches a given specification. |
| 243 | // It supports a trailing '*' wildcard and performs case-insensitive exact matching. |
no outgoing calls
searching dependent graphs…