File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/java/com/google/devtools/build/lib/remote Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 5252import com .google .devtools .build .lib .remote .util .AsyncTaskCache ;
5353import com .google .devtools .build .lib .util .TempPathGenerator ;
5454import com .google .devtools .build .lib .vfs .FileSymlinkLoopException ;
55- import com .google .devtools .build .lib .vfs .FileSystemUtils ;
5655import com .google .devtools .build .lib .vfs .OutputPermissions ;
5756import com .google .devtools .build .lib .vfs .Path ;
5857import com .google .devtools .build .lib .vfs .PathFragment ;
@@ -631,7 +630,7 @@ private void finalizeDownload(
631630 // Set output permissions on files, matching the behavior of SkyframeActionExecutor#checkOutputs
632631 // for artifacts produced by local actions.
633632 tmpPath .chmod (outputPermissions .getPermissionsMode ());
634- FileSystemUtils . moveFile ( tmpPath , finalPath );
633+ tmpPath . renameTo ( finalPath );
635634
636635 // Set the contents proxy when supported, to make future modification checks cheaper.
637636 metadata .setContentsProxy (FileContentsProxy .create (finalPath .stat ()));
You can’t perform that action at this time.
0 commit comments