mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 00:14:56 +00:00
VFS cleanup, some methods added
VFS::DeleteAll, VFS::GetDirSize, VFS::Exists, VFS::Rename (VFS::RenameFile, VFS::RenameDir removed)
This commit is contained in:
parent
db88c539fb
commit
e18db20630
16 changed files with 92 additions and 201 deletions
|
|
@ -26,21 +26,6 @@ bool vfsFile::Open(const std::string& path, u32 mode)
|
|||
return m_stream && m_stream->IsOpened();
|
||||
}
|
||||
|
||||
bool vfsFile::Exists(const std::string& path)
|
||||
{
|
||||
return m_stream->Exists(path);
|
||||
}
|
||||
|
||||
bool vfsFile::Rename(const std::string& from, const std::string& to)
|
||||
{
|
||||
return m_stream->Rename(from, to);
|
||||
}
|
||||
|
||||
bool vfsFile::Remove(const std::string& path)
|
||||
{
|
||||
return m_stream->Remove(path);
|
||||
}
|
||||
|
||||
bool vfsFile::Close()
|
||||
{
|
||||
m_stream.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue