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

Method legacyFileName

src/FileRise/Support/MetadataPath.php:49–56  ·  view source on GitHub ↗
(string $folder)

Source from the content-addressed store, hash-verified

47 }
48
49 public static function legacyFileName(string $folder): string
50 {
51 $folder = self::folderKey($folder);
52 if ($folder === 'root') {
53 return self::ROOT_FILE;
54 }
55 return str_replace(['/', '\\', ' '], '-', $folder) . '_metadata.json';
56 }
57
58 public static function deleteSubtree(string $metaRoot, string $folder): void
59 {

Callers 2

pathMethod · 0.95

Calls 1

folderKeyMethod · 0.95

Tested by

no test coverage detected