* Reconstruct the on-disk path for a native (raw) asset file. * * @param {BundleConfig} cfg * @param {string} uuid * @param {string} ext extension including dot (e.g. '.png'). * @returns {string|null}
(cfg, uuid, ext)
| 161 | /** |
| 162 | * Reconstruct the on-disk path for a native (raw) asset file. |
| 163 | * |
| 164 | * @param {BundleConfig} cfg |
| 165 | * @param {string} uuid |
| 166 | * @param {string} ext extension including dot (e.g. '.png'). |
| 167 | * @returns {string|null} |
| 168 | */ |
| 169 | function getNativePath(cfg, uuid, ext) { |
| 170 | if (!uuid) return null; |
| 171 | if (!ext) return null; |
| 172 | const ver = cfg.versions.native[uuid]; |
no outgoing calls
no test coverage detected