Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,16 @@ public FileChecksum getFileChecksum(Path f, long length) throws IOException {
return super.getFileChecksum(f, length);
}

@Override
protected Path fixRelativePart(Path p) {
String pathPatternString = p.toUri().getPath();
if (pathPatternString.isEmpty()) {
return new Path("/");
} else {
return super.fixRelativePart(p);
}
}

@Override
public FileStatus[] globStatus(Path pathPattern) throws IOException {
incrementCounter(Statistic.INVOCATION_GLOB_STATUS);
Expand Down