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

Method getActiveSource

src/FileRise/Storage/SourceContext.php:96–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 public static function getActiveSource(): array
97 {
98 self::init();
99 return self::$activeSource ?: [];
100 }
101
102 public static function getSourceById(?string $id): ?array
103 {

Callers 10

listAllSourcesMethod · 0.95
isReadOnlyMethod · 0.95
isTrashDisabledMethod · 0.95
uploadRootMethod · 0.95
metaRootMethod · 0.95
logMethod · 0.80
groupSourceContextMethod · 0.80
isLocalSourceTypeMethod · 0.80
shouldUseRemoteMarkerMethod · 0.80
getFileListMethod · 0.80

Calls 1

initMethod · 0.95

Tested by

no test coverage detected