code: protected Schema getDirectorySchema(Path directory) throws IOException {
      return AvroUtils.getDirectorySchema(directory, this.fs, true);
    }
docs: Get schema for a directory using {@link AvroUtils#getDirectorySchema(Path, FileSystem, boolean)}.