Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tong/hxinotify
haxe→cpp/hashlinkl/neko bindings to the inotify linux kernel subsystem
https://github.com/tong/hxinotify
bindings c filesystem hashlink haxe hxcpp inotify linux neko
Last synced: 3 months ago
JSON representation
haxe→cpp/hashlinkl/neko bindings to the inotify linux kernel subsystem
- Host: GitHub
- URL: https://github.com/tong/hxinotify
- Owner: tong
- Created: 2013-03-23T22:13:09.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-06-09T00:22:09.000Z (over 1 year ago)
- Last Synced: 2024-05-02T00:12:24.622Z (9 months ago)
- Topics: bindings, c, filesystem, hashlink, haxe, hxcpp, inotify, linux, neko
- Language: Haxe
- Homepage:
- Size: 433 KB
- Stars: 22
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
Awesome Lists containing this project
README
# hxinotify
Haxe-Cpp|Hashlink|Neko bindings to **inotify**, a linux kernel subsystem that acts to extend filesystems to notice changes and report those changes to applications.
Inotify can be used to automatically update directory views, reload configuration files, log changes, backup, synchronize, and upload.
Inotify can be used for:
* Detecting changes in files and directories (e.g. configuration files, mail directories)
* Guarding critical files and their eventual automatic recovery
* File usage statistics and similar purposes
* Automatic upload handling
* Monitoring installations outside of packaging systems
* Automatic on-change backup and/or versioning
* Reflecting changes to search databases
* …See: https://man7.org/linux/man-pages/man7/inotify.7.html
[![Actions Status](https://github.com/tong/hxinotify/workflows/CI/badge.svg)](https://github.com/tong/hxinotify) [![Haxelib Version](https://img.shields.io/github/tag/tong/hxinotify.svg?style=flat-square&colorA=EA8220&colorB=FBC707&label=haxelib)](http://lib.haxe.org/p/inotify/)
## Build
- Cpp/Neko (inotify.ndll)
```sh
haxelib run hxcpp build.xml
```- Hashlink (inotify.hdll)
```sh
cc -o inotify.hdll -shared -std=c11 -O3 -Wall -m64 -fPIC -lhl hlinotify.c
```## Usage
See [example](https://github.com/tong/hxinotify/blob/master/example/App.hx).