1// ExtractingFilePath.h 2 3#ifndef __EXTRACTING_FILE_PATH_H 4#define __EXTRACTING_FILE_PATH_H 5 6#include "../../../Common/MyString.h" 7 8UString MakePathNameFromParts(const UStringVector &parts); 9 10/* for WIN32: 11 if (isRoot == true), and pathParts[0] contains path like "c:name", 12 it thinks that "c:" is drive prefix (it's not ":name alt stream) and 13 the function changes part to c_name */ 14void MakeCorrectPath(bool isPathFromRoot, UStringVector &pathParts, bool replaceAltStreamColon); 15 16UString GetCorrectFsPath(const UString &path); 17UString GetCorrectFullFsPath(const UString &path); 18 19void Correct_IfEmptyLastPart(UStringVector &parts); 20 21#endif 22