void function ( DiffInfo [ ] arg0 , DistributedFileSystem arg1 ) { Arrays . sort ( arg0 , DiffInfo . targetComparator ) ; for ( DiffInfo loc0 : arg0 ) { if ( loc0 . target != null ) { if ( ! arg1 . exists ( loc0 . target . getParent ( ) ) ) { arg1 . mkdirs ( loc0 . target . getParent ( ) ) ; } arg1 . rename ( loc0 . getTmp ( ) , loc0 . target ) ; } } }
finish the rename operations : move all the intermediate files/directories from the tmp dir to the final targets . concode_field_sep PlaceHolder placeHolder concode_field_sep Path createTargetTmpDir concode_elem_sep void syncDiff concode_elem_sep boolean checkNoChange concode_elem_sep DiffInfo[] getDiffs concode_elem_sep void moveToTmpDir concode_elem_sep String getSnapshotName concode_elem_sep boolean sync concode_elem_sep void deleteTargetTmpDir concode_elem_sep Path getSourceSnapshotPath