From 308273fef97381356e96fcd9c17011409a3c2920 Mon Sep 17 00:00:00 2001 From: kojingeun <diteam.co.kr> Date: 수, 07 6월 2023 10:28:21 +0900 Subject: [PATCH] Ongoing50 #4517 CF AOI Review 결과 파일 찾기 실패 개선 1. Find Bin File 찾는 Library 변경 - CRT _findfirsti64 / _findnexti64 -> C++17 Filesystem directory_iterator - 파일 탐색 시간 20k Files(80GB) 1sec 소요 --- ReviewHistory/include/akCore/akPathFileUtil.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/include/akCore/akPathFileUtil.h b/ReviewHistory/include/akCore/akPathFileUtil.h new file mode 100644 index 0000000..3f137c9 --- /dev/null +++ b/ReviewHistory/include/akCore/akPathFileUtil.h @@ -0,0 +1,24 @@ +#pragma once + +#include "akCoreLinker.h" + +//akAdvBackup에 if(PathFileExists(strFilePathName.GetBuffer()))등의 내용을 참고할것!! 태현[2016/2/17] + +namespace akCore +{ + class AKCORE_DLLSPEC akPathFileUtil + { + public: + akPathFileUtil(void); + ~akPathFileUtil(void); + + static bool CopytoFile(char* srcfilename, char* cpyfilename); + //상대경로가 '/', '\\'로 시작하면 안됨(나중에 수정하도록 하자..API문제인듯) + static bool CopytoFolder(char* srcfilename, char* cpyFolder); + + //상대경로가 '/', '\\'로 시작하면 안됨, 와일드 카드 사용가능 + static bool RemoveFile(char* filename); + + static void CreateFolder(char* pFullPath); //상대경로는 안됨 태현[2016/2/15] + }; +} -- Gitblit v1.9.3