<commit_before>/* @flow */

/*::
import type { Stats } from 'fs'

export type EventAction =
  | 'created'
  | 'modified'
  | 'deleted'
  | 'renamed'
  | 'scan'
  | 'initial-scan-done'
export type EventKind =
  | 'file'
  | 'directory'
  | 'symlink'
  | 'unknown'

export type AtomWatcherEvent = {
  action: EventAction,
  kind: EventKind,
  path: string,
  oldPath?: string,
  _id?: string,
  stats?: Stats,
  md5sum?: string,
  incomplete?: bool,<commit_msg>core/local/steps/event: Use correct Stats type<commit_after>/* @flow */

/*::
import type { Stats } from '../stater'

export type EventAction =
  | 'created'
  | 'modified'
  | 'deleted'
  | 'renamed'
  | 'scan'
  | 'initial-scan-done'
export type EventKind =
  | 'file'
  | 'directory'
  | 'symlink'
  | 'unknown'

export type AtomWatcherEvent = {
  action: EventAction,
  kind: EventKind,
  path: string,
  oldPath?: string,
  _id?: string,
  stats?: Stats,
  md5sum?: string,
  incomplete?: bool,
{'fraction_non_alphanumeric': 0.15970772442588727, 'fraction_numerical': 0.0020876826722338203, 'mean_word_length': 3.4193548387096775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '740298', 'n_tokens_mistral': 360, 'n_tokens_neox': 356, 'n_words': 87}