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

Method getActiveId

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

Source from the content-addressed store, hash-verified

76 }
77
78 public static function getActiveId(): string
79 {
80 self::init();
81 return self::$activeId ?: self::DEFAULT_ID;
82 }
83
84 public static function setActiveId(string $id, bool $persistSession = false, bool $allowDisabled = false): void
85 {

Callers 15

withSourceContextMethod · 0.80
configMethod · 0.80
withSourceContextMethod · 0.80
createFolderMethod · 0.80
moveFolderMethod · 0.80
resumableCleanupMethod · 0.80
syncPortalUserGrantsMethod · 0.80
applyPortalUserGrantsMethod · 0.80
withSourceContextMethod · 0.80
copyFilesMethod · 0.80
deleteFilesMethod · 0.80
moveFilesMethod · 0.80

Calls 1

initMethod · 0.95

Tested by

no test coverage detected