Return the root-relative file path of a resource key.
(key, resfs_file=False)
| 241 | |
| 242 | |
| 243 | def resfs_src(key, resfs_file=False): |
| 244 | """ |
| 245 | Return the root-relative file path of a resource key. |
| 246 | """ |
| 247 | if resfs_file: |
| 248 | key = b'resfs/file/' + _b(key) |
| 249 | return find(b'resfs/src/' + _b(key)) |
| 250 | |
| 251 | |
| 252 | def resfs_has(path): |
no test coverage detected