code: public static COSFileStatus createFileStatus(Path keyPath,
        S3ObjectSummary summary,
        long blockSize) {
      long size = summary.getSize();
      return createFileStatus(keyPath,
          objectRepresentsDirectory(summary.getKey(), size),
          size, summary.getLastModified(), blockSize);
    }
docs: Create a files status instance from a listing.
  @param keyPath path to entry
  @param summary summary from AWS
  @param blockSize block size to declare
  @return a status entry