I'm using Rust on linux x86_64.
I have a function
f: String -> String
I have an input directory "/input" and output directory "/output"
I want to maintain the invariant that for every path (may contain subdirectories) $p,
/output/$pcontains the contents of
f( /input/$p )
The way to do this is we setup a watcher on all of
/inputwhich watches for things like: new file, update file, remove file
Question: is there something to handle this for me already ? If not, what 'watcher' crate is recommended to build up this "directory incremental mapping" myself ?