@@ -563,7 +563,7 @@ void FileSystem::createFileFromAsset(const char* path)
#endif
}
-std::string FileSystem::dirname(const char* path)
+std::string FileSystem::getDirectoryName(const char* path)
{
if (path == NULL || strlen(path) == 0)
@@ -196,7 +196,7 @@ public:
*
* @return The directory name with the trailing '/'. Returns "" if path is NULL or the path does not contain a directory.
*/
- static std::string dirname(const char* path);
+ static std::string getDirectoryName(const char* path);
/**
* Returns the extension of the given file path.
@@ -108,7 +108,7 @@ Properties* Properties::create(const char* url)
p = p->clone();
SAFE_DELETE(properties);
- p->setDirectoryPath(FileSystem::dirname(fileString.c_str()));
+ p->setDirectoryPath(FileSystem::getDirectoryName(fileString.c_str()));
return p;