mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +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
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