public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/1] BaseTools:Introduce CopyFileOnChange() function to copy cache files
@ 2019-06-17  8:43 Steven Shi
  2019-06-17  8:43 ` [PATCH v2 1/1] " Steven Shi
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Shi @ 2019-06-17  8:43 UTC (permalink / raw)
  To: devel; +Cc: liming.gao, bob.c.feng, christian.rodriguez

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-17  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-17  8:43 [PATCH v2 0/1] BaseTools:Introduce CopyFileOnChange() function to copy cache files Steven Shi
2019-06-17  8:43 ` [PATCH v2 1/1] " Steven Shi
2019-06-17  8:55   ` Bob Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox