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

Method encodedFileName

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

Source from the content-addressed store, hash-verified

38 }
39
40 public static function encodedFileName(string $folder): string
41 {
42 $folder = self::folderKey($folder);
43 if ($folder === 'root') {
44 return self::ROOT_FILE;
45 }
46 return 'folder-' . rawurlencode($folder) . '_metadata.json';
47 }
48
49 public static function legacyFileName(string $folder): string
50 {

Callers 3

pathMethod · 0.95
renameSubtreeMethod · 0.95

Calls 1

folderKeyMethod · 0.95

Tested by

no test coverage detected