Remove unused FS_RecursiveMakeDir()

This commit is contained in:
Joel16 2018-08-02 23:09:08 -05:00
parent 2dcd466f97
commit 5c6c123364

View File

@ -37,36 +37,6 @@ Result FS_MakeDir(FS_Archive archive, const char *path)
return 0;
}
Result FS_RecursiveMakeDir(FS_Archive archive, const char * dir)
{
Result ret = 0;
char buf[256];
char *p = NULL;
size_t len;
snprintf(buf, sizeof(buf), "%s",dir);
len = strlen(buf);
if (buf[len - 1] == '/')
buf[len - 1] = 0;
for (p = buf + 1; *p; p++)
{
if (*p == '/')
{
*p = 0;
ret = FS_MakeDir(archive, buf);
*p = '/';
}
ret = FS_MakeDir(archive, buf);
}
return ret;
}
bool FS_FileExists(FS_Archive archive, const char *path)
{
Handle handle;