| 478 | |
| 479 | |
| 480 | Ref<ProjectFile> Project::GetFileByPathOnDisk(const std::string& path) |
| 481 | { |
| 482 | BNProjectFile* file = BNProjectGetFileByPathOnDisk(m_object, path.c_str()); |
| 483 | if (file == nullptr) |
| 484 | return nullptr; |
| 485 | return new ProjectFile(file); |
| 486 | } |
| 487 | |
| 488 | |
| 489 | void Project::PushFile(Ref<ProjectFile> file) |
no test coverage detected