Finally add concat and path operator to VFSPath

This commit is contained in:
2024-12-17 08:44:14 -06:00
parent fc43f006a9
commit cbc0f59400
2 changed files with 58 additions and 0 deletions

View File

@ -14,11 +14,22 @@ namespace Tesses::Framework::Filesystem
VFSPath(std::string path);
VFSPath(VFSPath p, std::string subent);
VFSPath(VFSPath p, VFSPath p2);
VFSPath GetParent();
VFSPath CollapseRelativeParents();
std::string GetFileName();
std::string ToString();
};
VFSPath operator/(VFSPath p, VFSPath p2);
VFSPath operator/(VFSPath p, std::string p2);
VFSPath operator/(std::string p, VFSPath p2);
VFSPath operator+(VFSPath p, VFSPath p2);
VFSPath operator+(VFSPath p, std::string p2);
VFSPath operator+(std::string p, VFSPath p2);
class VFS {
public: