<commit_before># rb-fchange

Code not ready. It's just proof of concept
This is a simple wrapper over the Windows Kernel functions for monitoring the specified directory or subtree.

Example

```ruby
  require 'rb-fchange'
  
  notifier = FChange::Notifier.new
  notifier.watch("test", :all_events, :recursive) do |event|
    p Time.now.utc
  end
  
  Signal.trap('INT') do
    p "Bye bye...",
    notifier.stop
    abort("\n")
  end
  
  notifier.run
```<commit_msg>add TODO section<commit_after># rb-fchange

Code not ready. It's just proof of concept
This is a simple wrapper over the Windows Kernel functions for monitoring the specified directory or subtree.

Example

```ruby
  require 'rb-fchange'
  
  notifier = FChange::Notifier.new
  notifier.watch("test", :all_events, :recursive) do |event|
    p Time.now.utc
  end
  
  Signal.trap('INT') do
    p "Bye bye...",
    notifier.stop
    abort("\n")
  end
  
  notifier.run
```

## TODO

 - add latency setting with 0.5 default
 - default flag for events :all_events
 - rework interface (should more look like rb-fsevent)
 - add specs (can use specs from rb-fsevent)
 - publish on rubygems
{'fraction_non_alphanumeric': 0.10356832027850305, 'fraction_numerical': 0.0017406440382941688, 'mean_word_length': 3.275092936802974, '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': '7070156', 'n_tokens_mistral': 396, 'n_tokens_neox': 376, 'n_words': 131}