[edk2-devel] [PATCH v2 0/1] BaseTools:Introduce CopyFileOnChange() function to copy cache files

Steven Shi steven.shi at intel.com
Mon Jun 17 08:43:57 UTC 2019


V2:
set shallow=False in filecmp.cmp() to compare the src and dsc files content
use shutil.copy() replace the  shutil.copyfile() to do the file copy, which
is better to reserve the dsc file metadata

V1:
Initial fix

Steven Shi (1):
  BaseTools:Introduce CopyFileOnChange() function to copy cache files

 BaseTools/Source/Python/AutoGen/AutoGen.py    | 10 ++--
 .../Source/Python/Common/LongFilePathOs.py    |  4 ++
 BaseTools/Source/Python/Common/Misc.py        | 55 +++++++++++++++++++
 3 files changed, 64 insertions(+), 5 deletions(-)

-- 
2.17.1.windows.2


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#42495): https://edk2.groups.io/g/devel/message/42495
Mute This Topic: https://groups.io/mt/32092790/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list