[Kernel] Fix ContentPackage leaking its registered device.
This commit is contained in:
@@ -29,18 +29,20 @@ class VirtualFileSystem {
|
||||
~VirtualFileSystem();
|
||||
|
||||
bool RegisterDevice(std::unique_ptr<Device> device);
|
||||
bool UnregisterDevice(const std::string& path);
|
||||
|
||||
bool RegisterSymbolicLink(std::string path, std::string target);
|
||||
bool UnregisterSymbolicLink(std::string path);
|
||||
bool RegisterSymbolicLink(const std::string& path, const std::string& target);
|
||||
bool UnregisterSymbolicLink(const std::string& path);
|
||||
bool IsSymbolicLink(const std::string& path);
|
||||
|
||||
Entry* ResolvePath(std::string path);
|
||||
Entry* ResolveBasePath(std::string path);
|
||||
Entry* ResolvePath(const std::string& path);
|
||||
Entry* ResolveBasePath(const std::string& path);
|
||||
|
||||
Entry* CreatePath(std::string path, uint32_t attributes);
|
||||
bool DeletePath(std::string path);
|
||||
Entry* CreatePath(const std::string& path, uint32_t attributes);
|
||||
bool DeletePath(const std::string& path);
|
||||
|
||||
X_STATUS OpenFile(std::string path, FileDisposition creation_disposition,
|
||||
X_STATUS OpenFile(const std::string& path,
|
||||
FileDisposition creation_disposition,
|
||||
uint32_t desired_access, File** out_file,
|
||||
FileAction* out_action);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user