mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
HackStudio: Rename Project::get_file() to Project::create_file()
The function no longer looks for the already opened files, so let's emphasize that by renaming it to `create_file`. :^)
This commit is contained in:
parent
4a1974b174
commit
d811ad921c
3 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
String name() const { return LexicalPath::basename(m_root_path); }
|
||||
String root_path() const { return m_root_path; }
|
||||
|
||||
NonnullRefPtr<ProjectFile> get_file(const String& path) const;
|
||||
NonnullRefPtr<ProjectFile> create_file(const String& path) const;
|
||||
|
||||
void for_each_text_file(Function<void(const ProjectFile&)>) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue