open
, glob
and other fs operations will all raises audit events, but why don’t exists
, isfile
etc?
I am trying to implement on-demand hot module reloading in Python. However, without this feature, I can only monkey-patching pathlib
and os.path
to track fs usages, which is a more ugly solution.