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/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to