<commit_before>import React from 'react';
import FileListItem from './fileListItem';

const FileList = (props) => {
  // const styles = require('./BucketList.scss');

  function renderFileListItems(files) {
    if(files && files.length && files.length > 0) {
      return files.map((file) => {
        return (
          <FileListItem
            fileSelectAction = {props.fileSelectAction}
            key     = {file.id}
            {...file}
          />
        );
        //onClick = {() => props.onFileClick(file.id)}
      });
    } else {
      return (
        <tr className="text-center"><td colSpan="3"><span>Ready to Store Objects...</span></td></tr>
      );
    }
  }

  return (
    <table className="table table-hover table-files">
      <thead>
        <tr>
          <th>Name</th>
          <th>Size</th>
          <th>Type</th>
        </tr><commit_msg>Add next steps after creating new bucket<commit_after>import React from 'react';
import FileListItem from './fileListItem';

const FileList = (props) => {
  // const styles = require('./BucketList.scss');

  function renderFileListItems(files) {
    if(files && files.length && files.length > 0) {
      return files.map((file) => {
        return (
          <FileListItem
            fileSelectAction = {props.fileSelectAction}
            key     = {file.id}
            {...file}
          />
        );
        //onClick = {() => props.onFileClick(file.id)}
      });
    } else {
      return (
        <tr className="text-center"><td colSpan="3"><span>Ready to Store Objects</span></td></tr>
        <tr className="text-center"><td colSpan="3"><span>Read the <a href="https://storj.readme.io/">Get Started</a> tutorial, or go straight to the <a href="https://storj.io/api.html">Storj API</a>.</span></td></tr>
      );
    }
  }

  return (
    <table className="table table-hover table-files">
      <thead>
        <tr>
          <th>Name</th>
          <th>Size</th>
          <th>Type</th>
        </tr>
{'fraction_non_alphanumeric': 0.17069486404833836, 'fraction_numerical': 0.0025176233635448137, 'mean_word_length': 2.033587786259542, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 55, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '950681', 'n_tokens_mistral': 621, 'n_tokens_neox': 610, 'n_words': 121}