Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
isTypeAllowed
Method · 0.95
capabilityInfo
Method · 0.95
Calls
1
proSourcesAvailable
Method · 0.95
Tested by
no test coverage detected