mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +00:00
HackStudio: Add basic Git integration
This adds a "Git" tab to Hackstudio. Currently has support for staging and unstaging files.
This commit is contained in:
parent
7b66469ab3
commit
435c6c6f96
Notes:
sideshowbarker
2024-07-19 02:37:44 +09:00
Author: https://github.com/itamar8910
Commit: 435c6c6f96
Pull-request: https://github.com/SerenityOS/serenity/pull/3470
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/devsh0
15 changed files with 692 additions and 42 deletions
|
@ -27,6 +27,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "ProjectFile.h"
|
||||
#include <AK/LexicalPath.h>
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
|
@ -61,6 +62,7 @@ public:
|
|||
String default_file() const;
|
||||
String name() const { return m_name; }
|
||||
String path() const { return m_path; }
|
||||
String root_directory() const { return LexicalPath(m_path).dirname(); }
|
||||
|
||||
template<typename Callback>
|
||||
void for_each_text_file(Callback callback) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue