String converts the path buffer to a string.
()
| 152 | |
| 153 | // String converts the path buffer to a string. |
| 154 | func (b *PathBuffer) String() string { |
| 155 | return string(b.buf[:b.off]) |
| 156 | } |
| 157 | |
| 158 | // Reset the path buffer to empty, keeping and reusing the underlying bytes. |
| 159 | func (b *PathBuffer) Reset() { |
no outgoing calls