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

Method allowedTypes

src/FileRise/Storage/SourcesConfig.php:34–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 }
33
34 public static function allowedTypes(): array
35 {
36 return self::proSourcesAvailable() ? self::ALL_TYPES : self::CORE_TYPES;
37 }
38
39 public static function isTypeAllowed(string $type): bool
40 {

Callers 2

isTypeAllowedMethod · 0.95
capabilityInfoMethod · 0.95

Calls 1

proSourcesAvailableMethod · 0.95

Tested by

no test coverage detected