Index: third_party/lzma/v4_65/files/CPP/Windows/FileName.cpp |
diff --git a/third_party/lzma/v4_65/files/CPP/Windows/FileName.cpp b/third_party/lzma/v4_65/files/CPP/Windows/FileName.cpp |
deleted file mode 100644 |
index 8443a4af98eff942c54e2b269a4ade3b62273f29..0000000000000000000000000000000000000000 |
--- a/third_party/lzma/v4_65/files/CPP/Windows/FileName.cpp |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-// Windows/FileName.cpp |
- |
-#include "StdAfx.h" |
- |
-#include "Windows/FileName.h" |
-#include "Common/Wildcard.h" |
- |
-namespace NWindows { |
-namespace NFile { |
-namespace NName { |
- |
-void NormalizeDirPathPrefix(CSysString &dirPath) |
-{ |
- if (dirPath.IsEmpty()) |
- return; |
- if (dirPath.ReverseFind(kDirDelimiter) != dirPath.Length() - 1) |
- dirPath += kDirDelimiter; |
-} |
- |
-#ifndef _UNICODE |
-void NormalizeDirPathPrefix(UString &dirPath) |
-{ |
- if (dirPath.IsEmpty()) |
- return; |
- if (dirPath.ReverseFind(wchar_t(kDirDelimiter)) != dirPath.Length() - 1) |
- dirPath += wchar_t(kDirDelimiter); |
-} |
-#endif |
- |
-const wchar_t kExtensionDelimiter = L'.'; |
- |
-void SplitNameToPureNameAndExtension(const UString &fullName, |
- UString &pureName, UString &extensionDelimiter, UString &extension) |
-{ |
- int index = fullName.ReverseFind(kExtensionDelimiter); |
- if (index < 0) |
- { |
- pureName = fullName; |
- extensionDelimiter.Empty(); |
- extension.Empty(); |
- } |
- else |
- { |
- pureName = fullName.Left(index); |
- extensionDelimiter = kExtensionDelimiter; |
- extension = fullName.Mid(index + 1); |
- } |
-} |
- |
-}}} |