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

Method getAllShareLinks

src/FileRise/Domain/FileModel.php:3930–3938  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3928 }
3929
3930 public static function getAllShareLinks(): array
3931 {
3932 $shareFile = self::metaRoot() . "share_links.json";
3933 if (!file_exists($shareFile)) {
3934 return [];
3935 }
3936 $links = json_decode(file_get_contents($shareFile), true);
3937 return is_array($links) ? $links : [];
3938 }
3939
3940 public static function deleteShareLink(string $token): bool
3941 {

Callers

nothing calls this directly

Calls 1

metaRootMethod · 0.95

Tested by

no test coverage detected