mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
16 lines
361 B
C++
16 lines
361 B
C++
#pragma once
|
|
#include <mutex>
|
|
#include "../btrfs/btrfsplugin/IBackupFileSystem.h"
|
|
|
|
class FilesystemManager
|
|
{
|
|
public:
|
|
static bool openFilesystemImage(const std::string& path);
|
|
|
|
static IBackupFileSystem* getFileSystem(const std::string& path);
|
|
|
|
private:
|
|
|
|
static std::mutex mutex;
|
|
static std::map<std::string, IBackupFileSystem*> filesystems;
|
|
}; |