void (ChangeSet c) { // todo what if the path is being changed during changes? for (Change each : c.getChanges()) { if (!(each instanceof ContentChange cc)) continue; if (!cc.affectsPath(myPath)) continue; myCurrentFileTimestamp = cc.getOldTimestamp(); myCurrentFileContent = cc.getOldContent(); } }