24 #ifndef STORAGE_BTRFS_H 25 #define STORAGE_BTRFS_H 28 #include "storage/Devicegraph.h" 29 #include "storage/Filesystems/BlkFilesystem.h" 59 void set_default_btrfs_subvolume(
BtrfsSubvolume* btrfs_subvolume)
const;
61 std::vector<BtrfsSubvolume*> get_btrfs_subvolumes();
62 std::vector<const BtrfsSubvolume*> get_btrfs_subvolumes()
const;
76 bool get_configure_snapper()
const;
77 void set_configure_snapper(
bool configure);
84 const Impl& get_impl()
const;
86 virtual Btrfs* clone()
const override;
95 bool is_btrfs(
const Device* device);
Btrfs * to_btrfs(Device *device)
Converts pointer to Device to pointer to Btrfs.
Class to represent a btrfs subvolume.
Definition: BtrfsSubvolume.h:40
The master container of the libstorage.
Definition: Devicegraph.h:153
Definition: BlkFilesystem.h:42
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
Definition: Devicegraph.h:48
The storage namespace.
Definition: Actiongraph.h:37
BtrfsSubvolume * find_btrfs_subvolume_by_path(const std::string &path)
Find a btrfs subvolume of the btrfs by its path.