added UEGitPlugin

This commit is contained in:
2026-06-15 14:46:13 +09:00
parent cfd64ebba4
commit f525d25a90
46 changed files with 9791 additions and 0 deletions
@@ -0,0 +1,50 @@
// Copyright (c) 2014-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com)
//
// Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
// or copy at http://opensource.org/licenses/MIT)
#pragma once
#include "Containers/UnrealString.h"
#include "HAL/CriticalSection.h"
class GITSOURCECONTROL_API FGitSourceControlSettings
{
public:
/** Get the Git Binary Path */
const FString & GetBinaryPath() const;
/** Set the Git Binary Path */
bool SetBinaryPath(const FString& InString);
/** Tell if using the Git LFS file Locking workflow */
bool IsUsingGitLfsLocking() const;
/** Configure the usage of Git LFS file Locking workflow */
bool SetUsingGitLfsLocking(const bool InUsingGitLfsLocking);
/** Get the username used by the Git LFS 2 File Locks server */
const FString GetLfsUserName() const;
/** Set the username used by the Git LFS 2 File Locks server */
bool SetLfsUserName(const FString& InString);
/** Load settings from ini file */
void LoadSettings();
/** Save settings to ini file */
void SaveSettings() const;
private:
/** A critical section for settings access */
mutable FCriticalSection CriticalSection;
/** Git binary path */
FString BinaryPath;
/** Tells if using the Git LFS file Locking workflow */
bool bUsingGitLfsLocking = true;
/** Username used by the Git LFS 2 File Locks server */
FString LfsUserName;
};