#include <XrdSciTokensAccess.hh>
Definition at line 89 of file XrdSciTokensAccess.hh.
◆ SubpathMatch() [1/2]
| SubpathMatch::SubpathMatch |
( |
| ) |
|
|
default |
◆ SubpathMatch() [2/2]
◆ apply()
| bool SubpathMatch::apply |
( |
Access_Operation | oper, |
|
|
const std::string_view | path ) const |
|
inline |
Definition at line 97 of file XrdSciTokensAccess.hh.
97 {
98
99 for (const auto & rule : m_rules) {
100
101 if (rule.first != oper)
102 continue;
103
104
105 if (rule.second == "/")
106 return true;
107
108
110 return true;
111 } else {
112
115 return true;
116 }
117 }
118 return false;
119 }
@ AOP_Stat
exists(), stat()
static bool is_subdirectory(const std::string_view dir, const std::string_view subdir)
References AOP_Mkdir, AOP_Stat, and is_subdirectory().
◆ empty()
| bool SubpathMatch::empty |
( |
| ) |
const |
|
inline |
◆ size()
| size_t SubpathMatch::size |
( |
| ) |
const |
|
inline |
◆ str()
| std::string SubpathMatch::str |
( |
| ) |
const |
The documentation for this class was generated from the following files: