(string $folder)
| 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 | { |
no test coverage detected