Mount directories read-only where possible

This commit is contained in:
Martin Natano
2022-03-12 22:30:54 +01:00
parent d8b6d36a78
commit 168877f6a8
11 changed files with 97 additions and 119 deletions
+1 -3
View File
@@ -3,7 +3,6 @@
/** @brief Constants for working with the RageFileManager. */
namespace RageFileManagerUtil
{
extern RString sInitialWorkingDirectory;
extern RString sDirOfExecutable;
}
@@ -48,8 +47,7 @@ public:
* @return the absolute path. */
RString ResolvePath(const RString &path);
bool Mount( const RString &sType, const RString &sRealPath, const RString &sMountPoint, bool bAddToEnd = true );
void Mount( RageFileDriver *pDriver, const RString &sMountPoint, bool bAddToEnd = true );
bool Mount( const RString &sType, const RString &sRealPath, const RString &sMountPoint );
void Unmount( const RString &sType, const RString &sRoot, const RString &sMountPoint );
/* Change the root of a filesystem. Only a couple drivers support this; it's