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

Method capabilityInfo

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

Source from the content-addressed store, hash-verified

43 }
44
45 public static function capabilityInfo(): array
46 {
47 $pro = self::proSourcesAvailable();
48 return [
49 'available' => true,
50 'proExtended' => $pro,
51 'allowedTypes' => self::allowedTypes(),
52 'coreTypes' => self::CORE_TYPES,
53 'proTypes' => array_values(array_diff(self::ALL_TYPES, self::CORE_TYPES)),
54 ];
55 }
56
57 private static function withCapabilities(array $cfg): array
58 {

Callers 1

withCapabilitiesMethod · 0.95

Calls 2

proSourcesAvailableMethod · 0.95
allowedTypesMethod · 0.95

Tested by

no test coverage detected