| 6 | |
| 7 | namespace { |
| 8 | bool IsHttps(TStringBuf scheme) { |
| 9 | return TStringBuf("https") == scheme || TStringBuf("fulls") == scheme || TStringBuf("posts") == scheme; |
| 10 | } |
| 11 | |
| 12 | bool SplitUserInfo(TStringBuf& path, TStringBuf& userInfo, bool mayHaveSpecificUserInfo) { |
| 13 | const size_t pos = path.find_first_of(mayHaveSpecificUserInfo ? TStringBuf("?@") : TStringBuf("?@/")); |
no outgoing calls
no test coverage detected