|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-07-19 13:24 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-07-19 13:24 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 05:00:01 2025 UTC |
Description: ------------ The events returned by inotify_read do not include the pathname of the file that triggered the event. This makes it difficult if you are watching multiple locations. Would it be possible to add the key 'pathname' to the array that is returned ? The documentation would then become: An array of inotify events or FALSE if no events was pending and inotify_instance is non-blocking. Each event is an array with the following keys: wd is a watch descriptor returned by inotify_add_watch() mask is a bit mask of events cookie is a unique id to connect related events (e.g. IN_MOVE_FROM and IN_MOVE_TO) name is the name of a file (e.g. if a file was modified in a watched directory) pathname is the path of a file that triggered the event