0ad/source/lib/file/vfs/vfs_path.cpp

8 lines
162 B
C++
Raw Normal View History

#include "precompiled.h"
#include "vfs_path.h"
bool vfs_path_IsDirectory(const VfsPath& pathname)
{
return pathname.empty() || pathname.leaf() == ".";
}