rpcsx/rpcs3/Emu/VFS.h
2018-02-09 15:24:46 +03:00

19 lines
413 B
C++

#pragma once
#include <string>
namespace vfs
{
// Mount VFS device
bool mount(const std::string& dev_name, const std::string& path);
// Convert VFS path to fs path
std::string get(const std::string& vpath);
// Escape VFS path by replacing non-portable characters with surrogates
std::string escape(const std::string& path);
// Invert escape operation
std::string unescape(const std::string& path);
}