(string $id)
| 180 | } |
| 181 | |
| 182 | public static function metaRootForId(string $id): string |
| 183 | { |
| 184 | $src = self::getSourceById($id); |
| 185 | if ($src) { |
| 186 | return self::metaRootForSource($src); |
| 187 | } |
| 188 | return rtrim((string)META_DIR, "/\\") . DIRECTORY_SEPARATOR; |
| 189 | } |
| 190 | |
| 191 | private static function metaRootForSource(array $src): string |
| 192 | { |
no test coverage detected