MCPcopy Index your code
hub / github.com/questdb/questdb / ensureSeparator

Method ensureSeparator

core/src/main/java/io/questdb/std/str/Path.java:510–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

508 }
509
510 protected final void ensureSeparator() {
511 if (tailPtr > headPtr && Unsafe.getByte(tailPtr - 1) != Files.SEPARATOR) {
512 //noinspection resource
513 putByte0((byte) Files.SEPARATOR);
514 }
515 }
516
517 private class PathLPSZ implements LPSZ {
518 @Override

Callers 4

concatMethod · 0.95
slashMethod · 0.95
slash$Method · 0.95
PrefixedPathMethod · 0.80

Calls 2

getByteMethod · 0.95
putByte0Method · 0.95

Tested by

no test coverage detected