19 #ifndef SBUILD_CHROOT_FACET_DIRECTORY_H
20 #define SBUILD_CHROOT_FACET_DIRECTORY_H
22 #include <sbuild/config.h>
23 #include <sbuild/chroot/facet/directory-base.h>
24 #ifdef SBUILD_FEATURE_BTRFSSNAP
25 #include <sbuild/chroot/facet/btrfs-snapshot.h>
45 typedef std::shared_ptr<directory>
ptr;
57 #ifdef SBUILD_FEATURE_BTRFSSNAP
60 #endif // SBUILD_FEATURE_BTRFSSNAP
67 #ifdef SBUILD_FEATURE_BTRFSSNAP
69 #endif // SBUILD_FEATURE_BTRFSSNAP
75 virtual std::string
const&
86 #ifdef SBUILD_FEATURE_BTRFSSNAP
94 #endif // SBUILD_FEATURE_BTRFSSNAP
Debian source builder components.
Definition: ctty.cc:31
std::shared_ptr< const directory > const_ptr
A shared_ptr to a const chroot facet object.
Definition: directory.h:48
A base class for chroots located in a local directory.
Definition: directory-base.h:45
virtual std::string const & get_name() const
Get the name of the chroot facet.
Definition: directory.cc:97
Common chroot data.
Definition: chroot.h:50
virtual facet::ptr clone() const
Copy the chroot facet.
Definition: directory.cc:117
Advisory locking.
Definition: lock.h:38
A chroot located in the filesystem.
Definition: directory.h:41
directory()
The constructor.
Definition: directory.cc:59
void set_chroot(chroot &chroot, bool copy)
Set containing chroot.
Definition: directory.cc:82
std::shared_ptr< directory > ptr
A shared_ptr to a chroot facet object.
Definition: directory.h:45
virtual ~directory()
The destructor.
Definition: directory.cc:64
virtual std::string get_path() const
Get the path to the chroot.
Definition: directory.cc:123
std::shared_ptr< facet > ptr
A shared_ptr to a chroot facet object.
Definition: facet.h:63
A chroot stored on a Btrfs subvolume.
Definition: btrfs-snapshot.h:40
static ptr create()
Create a chroot facet.
Definition: directory.cc:103
setup_type
Type of setup to perform.
Definition: chroot.h:54