forked from Mirrors/openclonk
Remove unused EraseFiles and EraseItems functions
parent
cb3ae45c2f
commit
91e3a0ca07
|
@ -544,11 +544,6 @@ bool EraseFile(const char *szFilename)
|
|||
#endif
|
||||
}
|
||||
|
||||
bool EraseFiles(const char *szFilePath)
|
||||
{
|
||||
return ForEachFile(szFilePath,&EraseFile) > 0;
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
bool CopyFile(const char *szSource, const char *szTarget, bool FailIfExists)
|
||||
{
|
||||
|
@ -868,12 +863,7 @@ bool CreateItem(const char *szItemname)
|
|||
// Success
|
||||
return true;
|
||||
}
|
||||
#ifdef _WIN32
|
||||
bool EraseItems(const char *szItemPath)
|
||||
{
|
||||
return ForEachFile(szItemPath,&EraseItem) > 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool CopyItem(const char *szSource, const char *szTarget, bool fResetAttributes)
|
||||
{
|
||||
// Check for identical source and target
|
||||
|
|
|
@ -98,7 +98,6 @@ size_t FileSize(const char *fname);
|
|||
size_t FileSize(int fdes);
|
||||
int FileTime(const char *fname);
|
||||
bool EraseFile(const char *szFileName);
|
||||
bool EraseFiles(const char *szFilePath);
|
||||
bool RenameFile(const char *szFileName, const char *szNewFileName);
|
||||
bool MakeOriginalFilename(char *szFilename);
|
||||
void MakeFilenameFromTitle(char *szTitle);
|
||||
|
@ -111,7 +110,6 @@ bool ItemIdentical(const char *szFilename1, const char *szFilename2);
|
|||
inline bool ItemExists(const char *szItemName) { return FileExists(szItemName); }
|
||||
bool RenameItem(const char *szItemName, const char *szNewItemName);
|
||||
bool EraseItem(const char *szItemName);
|
||||
bool EraseItems(const char *szItemPath);
|
||||
bool CopyItem(const char *szSource, const char *szTarget, bool fResetAttributes=false);
|
||||
bool CreateItem(const char *szItemname);
|
||||
bool MoveItem(const char *szSource, const char *szTarget);
|
||||
|
|
Loading…
Reference in New Issue