diff options
Diffstat (limited to 'lib/System/Win32')
-rw-r--r-- | lib/System/Win32/Path.inc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index f28fe86..67f16a7 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -247,21 +247,6 @@ Path::getBasename() const { return path.substr(slash, dot - slash); } -bool Path::hasMagicNumber(const std::string &Magic) const { - std::string actualMagic; - if (getMagicNumber(actualMagic, Magic.size())) - return Magic == actualMagic; - return false; -} - -bool -Path::isBytecodeFile() const { - std::string actualMagic; - if (!getMagicNumber(actualMagic, 4)) - return false; - return actualMagic == "llvc" || actualMagic == "llvm"; -} - bool Path::exists() const { DWORD attr = GetFileAttributes(path.c_str()); |