Skip to content

Commit b1562ff

Browse files
authored
[docs] Add onMakeDirectory and onMakeSymlink to the list of tracking delegates (emscripten-core#27326)
This is to match the example code below that list, which contains onMakeDirectory and onMakeSymlink, while they are absent from the list above. Reading only the list and not the example code below it, I was confused about how to track directory creation, and this pull request should resolve that confusion for others.
1 parent bd5b72d commit b1562ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

site/source/docs/api_reference/Filesystem-API.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,8 @@ File system API
883883
- ``onReadFile`` — Indicates file is being read and number of bytes read.
884884
- ``onSeekFile`` — Indicates seeking within a file, position, and whence.
885885
- ``onCloseFile`` — Indicates a file being closed.
886+
- ``onMakeDirectory`` — Indicates a directory being created.
887+
- ``onMakeSymlink`` — Indicates a symlink (symbolic link) being created.
886888

887889
:callback name: The name of the callback that indicates the filesystem event
888890

0 commit comments

Comments
 (0)