private byte[][] findRenameTargetPath(INode deleted, Snapshot laterSnapshot) { if (deleted instanceof INodeReference.WithName) { return snapshotRoot.getDirectorySnapshottableFeature() .findRenameTargetPath(snapshotDiffScopeDir, (INodeReference.WithName) deleted, Snapshot.getSnapshotId(laterSnapshot)); } return null; }
boolean toProcess = !diff.containsDeleted(name); if (!toProcess && child instanceof INodeReference.WithName) { byte[][] renameTargetPath = findRenameTargetPath(snapshotDir, (WithName) child, Snapshot.getSnapshotId(later)); if (renameTargetPath != null) {
boolean toProcess = !diff.containsDeleted(name); if (!toProcess && child instanceof INodeReference.WithName) { byte[][] renameTargetPath = findRenameTargetPath( snapshotDir, (WithName) child, laterSnapshot == null ? Snapshot.CURRENT_STATE_ID :
boolean toProcess = diff.searchIndex(ListType.DELETED, name) < 0; if (!toProcess && child instanceof INodeReference.WithName) { byte[][] renameTargetPath = findRenameTargetPath( snapshotRoot, (WithName) child, laterSnapshot == null ? Snapshot.CURRENT_STATE_ID :
boolean toProcess = diff.searchIndex(ListType.DELETED, name) < 0; if (!toProcess && child instanceof INodeReference.WithName) { byte[][] renameTargetPath = findRenameTargetPath( snapshotRoot, (WithName) child, laterSnapshot == null ? Snapshot.CURRENT_STATE_ID :