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