MCPcopy Create free account
hub / github.com/error311/FileRise / listFor

Method listFor

src/FileRise/Support/ACL.php:763–768  ·  view source on GitHub ↗
(string $folder, string $key)

Source from the content-addressed store, hash-verified

761 }
762
763 private static function listFor(string $folder, string $key): array
764 {
765 $acl = self::$cache ?? self::loadFresh();
766 $f = $acl['folders'][$folder] ?? null;
767 return is_array($f[$key] ?? null) ? $f[$key] : [];
768 }
769
770 private static function inheritMap(string $folder): array
771 {

Callers 1

hasExplicitUserGrantMethod · 0.95

Calls 1

loadFreshMethod · 0.95

Tested by

no test coverage detected