Lines Matching refs:res
18 std::string WildcardIfDir(const std::string& res) noexcept {
20 int rc = uv_fs_stat(nullptr, &req, res.c_str(), nullptr);
25 if (res.back() == node::kPathSeparator) {
26 return res + "*";
28 return res + node::kPathSeparator + "*";
32 return res;
120 for (const std::string_view res : SplitString(allow, ","sv)) {
121 if (res == "*"sv) {
131 GrantAccess(scope, std::string(res.data(), res.size()));
135 void FSPermission::GrantAccess(PermissionScope perm, const std::string& res) {
136 const std::string path = WildcardIfDir(res);