rpcsx/rpcs3/Emu/VFS.h

19 lines
413 B
C
Raw Normal View History

2016-04-14 01:59:00 +03:00
#pragma once
#include <string>
2016-04-14 01:59:00 +03:00
namespace vfs
{
2016-06-02 18:16:01 +03:00
// Mount VFS device
bool mount(const std::string& dev_name, const std::string& path);
// Convert VFS path to fs path
2018-02-09 15:24:46 +03:00
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);
2016-04-14 01:59:00 +03:00
}