| 246 | } |
| 247 | |
| 248 | File *FilesystemDisk::open(const char *path, FileOpenMode::Enum mode) |
| 249 | { |
| 250 | CE_ENSURE(NULL != path); |
| 251 | |
| 252 | TempAllocator256 ta; |
| 253 | DynamicString abs_path(ta); |
| 254 | absolute_path(abs_path, path); |
| 255 | |
| 256 | FileDisk *file = CE_NEW(*_allocator, FileDisk)(); |
| 257 | file->open(abs_path.c_str(), mode); |
| 258 | return file; |
| 259 | } |
| 260 | |
| 261 | File *FilesystemDisk::open_temporary(DynamicString &absolute_path) |
| 262 | { |