Skip to content

Commit

Permalink
fix signature mistake in README
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Aug 20, 2023
1 parent a7708ef commit 64f668e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 64f668e

Please sign in to comment.