Compare commits
2 commits
0f048dc47d
...
a2523a5b53
| Author | SHA1 | Date | |
|---|---|---|---|
| a2523a5b53 | |||
| a951162c52 |
1 changed files with 31 additions and 21 deletions
22
README.md
22
README.md
|
|
@ -9,6 +9,7 @@
|
|||
|___/
|
||||
T H E N I G H T W A T C H
|
||||
```
|
||||
|
||||

|
||||
|
||||
> The city sleeps.
|
||||
|
|
@ -29,17 +30,26 @@ It does not interfere.
|
|||
It does not speculate.
|
||||
It simply keeps watch.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
## Features
|
||||
|
||||
- Recursive directory tree tracking
|
||||
- Deterministic multi-platform support (Linux, FreeBSD, MacOS, Windows)
|
||||
- Deterministic multi-platform support (Linux, macOS, FreeBSD, OpenBSD, NetBSD, DragonFly BSD, Windows)
|
||||
- Lightweight and fast
|
||||
- Embeddable Zig module API
|
||||
- Standalone CLI executable
|
||||
|
||||
------------------------------------------------------------------------
|
||||
### Platform backends
|
||||
|
||||
| Platform | Backend | Notes |
|
||||
| --------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------ |
|
||||
| Linux | inotify | Threaded mode (default) or poll mode (`-Dlinux_read_thread=false`) |
|
||||
| macOS | kqueue (default) or FSEvents (`-Dmacos_fsevents=true`) | FSEvents requires Xcode frameworks |
|
||||
| FreeBSD, OpenBSD, NetBSD, DragonFly BSD | kqueue | |
|
||||
| Windows | ReadDirectoryChangesW | |
|
||||
|
||||
---
|
||||
|
||||
# Installation
|
||||
|
||||
|
|
@ -65,7 +75,7 @@ The executable will be located in:
|
|||
zig build install
|
||||
```
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
# Using as a Zig Module
|
||||
|
||||
|
|
@ -91,7 +101,7 @@ const nightwatch = @import("nightwatch");
|
|||
|
||||
You now have programmatic access to the tracking engine.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
# CLI Usage
|
||||
|
||||
|
|
@ -107,7 +117,7 @@ nightwatch --help
|
|||
|
||||
for full command documentation.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
---
|
||||
|
||||
# Philosophy
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue