Signed-off-by: wlxtt <litao316@h-partners.com>

Changes to be committed:
This commit is contained in:
wlxtt 2022-08-04 11:14:25 +08:00
parent 655beb08d0
commit 92d4a8a554

View File

@ -58,9 +58,9 @@ export class OperationImpl implements BrowserOperationInterface {
return;
}
TraceControllerUtils.startTrace('readAndWriteData')
await this.readAndWriteData(fd, targetFd);
TraceControllerUtils.finishTrace('readAndWriteData')
TraceControllerUtils.startTrace('copyFile')
await fileio.copyFile(fd, targetFd)
TraceControllerUtils.finishTrace('copyFile')
TraceControllerUtils.startTrace('sourceClose')
await source.close(fd);