libzypp 17.38.6
filesystem.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8----------------------------------------------------------------------/
9*
10* This file contains private API, this might break at any time between releases.
11* You have been warned!
12*
13*/
14#ifndef ZYPP_NG_SAT_NAMESPACES_FILESYSTEM_H_INCLUDED
15#define ZYPP_NG_SAT_NAMESPACES_FILESYSTEM_H_INCLUDED
16
18#include <set>
19#include <string>
20#include <optional>
21
23
29 public:
31
32 const std::set<std::string> &requiredFilesystems() const;
33
34 // NamespaceProvider interface
35 void checkDirty( Pool & pool ) override;
36 bool isSatisfied( detail::IdType value) const override;
37
38 private:
40 mutable std::optional<std::set<std::string> > _requiredFilesystems;
41 };
42
43} // namespace zyppng::sat
44
45#endif
Abstract base class for logic providing data to a libsolv namespace.
Orchestrator for a libsolv pool instance.
Definition pool.h:37
void checkDirty(Pool &pool) override
checkDirty
Definition filesystem.cc:34
std::optional< std::set< std::string > > _requiredFilesystems
filesystems mentioned in /etc/sysconfig/storage, mutable for lazy init
Definition filesystem.h:40
const std::set< std::string > & requiredFilesystems() const
Definition filesystem.cc:43
bool isSatisfied(detail::IdType value) const override
Check if a specific value satisfies this namespace condition.
Definition filesystem.cc:28
zypp::sat::detail::IdType IdType