libfswatch

Nim binding to libfswatch

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install libfswatch
choosenim install libfswatch
git clone https://github.com/paul-nameless/nim-fswatch

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
libfswatch - - - - - - -

Source

Repository https://github.com/paul-nameless/nim-fswatch
Homepage https://github.com/paul-nameless/nim-fswatch
Registry Source nimble_official

README

Nim fswatch

Nim binding to libfswatch

Install

brew install fswatch
nimble install libfswatch

Usage

import libfswatch
import libfswatch/fswatch

proc callback(event: fsw_cevent, event_num: cuint) =
  echo event.path

var mon = newMonitor()

mon.addPath("/tmp/test/")
mon.setCallback(callback)

mon.start()