| 84 | } |
| 85 | |
| 86 | TString TPathSplitStore::DoReconstruct(const TStringBuf slash) const { |
| 87 | TString r; |
| 88 | |
| 89 | r.reserve(ToReserve(*this)); |
| 90 | |
| 91 | if (IsAbsolute) { |
| 92 | r.AppendNoAlias(Drive); |
| 93 | r.AppendNoAlias(slash); |
| 94 | } |
| 95 | |
| 96 | for (auto i = begin(); i != end(); ++i) { |
| 97 | if (i != begin()) { |
| 98 | r.AppendNoAlias(slash); |
| 99 | } |
| 100 | |
| 101 | r.AppendNoAlias(*i); |
| 102 | } |
| 103 | |
| 104 | return r; |
| 105 | } |
| 106 | |
| 107 | void TPathSplitStore::AppendComponent(const TStringBuf comp) { |
| 108 | if (!comp || comp == TStringBuf(".")) { |
nothing calls this directly
no test coverage detected