33 const std::string & fs,
36 static bool checkFSImageAt(
int dirFd,
37 const std::string & filepath,
39 const std::string & fs,
45 const std::string & fs);
47 static bool createFSImageAt(
int dirFd,
48 const std::string & filepath,
51 const std::string & fs);
55 static void deleteFSImageAt(
int dirFd,
56 const std::string & filepath);
59 static const std::string xAttrUserIdName;
Definition ImageManager.h:29
static void deleteFSImage(const std::string &filepath)
Removes a package's private data image file.
Definition ImageManager.cpp:480
static bool createFSImage(const std::string &filepath, uid_t userId, size_t size, const std::string &fs)
Create a filesystem image of the given size and format.
Definition ImageManager.cpp:294
static bool checkFSImage(const std::string &filepath, uid_t userId, const std::string &fs, bool fix=true)
Checks if the given fs image exists and is mountable.
Definition ImageManager.cpp:71