From 64f668eb9d26cf91c199c58ee7a3916e0a4d0da7 Mon Sep 17 00:00:00 2001 From: William Stein Date: Sun, 20 Aug 2023 17:59:13 +0000 Subject: [PATCH] fix signature mistake in README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 61c37e0..9c2fbb3 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,8 @@ I'm making extensive use of these bindings in [WebSocketFS](https://github.com/s Most of the [FUSE api](http://fuse.sourceforge.net/doxygen/structfuse__operations.html) is supported. In general the callback for each op should be called with `cb(returnCode, [value])` where the return code is a number (`0` for OK and `< 0` for errors). See below for a list of POSIX error codes. +Typescript: see [index.d.ts](./index.d.ts). + #### `ops.init(cb)` Called on filesystem init. @@ -125,11 +127,11 @@ Same as above but is called when someone stats a file descriptor Called when a file descriptor is being flushed -#### `ops.fsync(path, fd, datasync, cb)` +#### `ops.fsync(path, datasync, fd, cb)` Called when a file descriptor is being fsync'ed. -#### `ops.fsyncdir(path, fd, datasync, cb)` +#### `ops.fsyncdir(path, datasync, fd, cb)` Same as above but on a directory