| 182 | } |
| 183 | |
| 184 | Status MemmappedFileSystem::RenameFile(const string& filename_from, |
| 185 | const string& filename_to) { |
| 186 | return errors::Unimplemented("memmapped format doesn't support RenameFile"); |
| 187 | } |
| 188 | |
| 189 | const void* MemmappedFileSystem::GetMemoryWithOffset(uint64 offset) const { |
| 190 | return reinterpret_cast<const uint8*>(mapped_memory_->data()) + offset; |