You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contenthash: don't delete records when a directory is only modified
Before this commit, HandleChange would always recursively remove records
whenever any Modify change was applied to a directory path.
This was wasteful in the case where HandleChange was called only due to
a metadata modification to a directory. In that case, it makes sense to
*update* the directory's node but no existing entries under the
directory need to be thrown away.
Now, we only recursively remove records under a directory for the Delete
case and when a Modify change replaces a directory with a non-directory.
Signed-off-by: Erik Sipsma <[email protected]>
0 commit comments