Toast Engine
Loading...
Searching...
No Matches
editor.Git.GitService Class Referencesealed
Inheritance diagram for editor.Git.GitService:
Collaboration diagram for editor.Git.GitService:

Public Member Functions

void Dispose ()
GitChange? GetChange (string absolutePath)
GitFileStatus GetAssetStatus (string assetPath)
GitFileStatus GetFolderStatus (string folderPath)
GitLock? GetLock (string absolutePath)
bool IsLockable (string absolutePath)
string? GetEmail (GitLock held)
async Task RefreshStatusAsync ()
async Task RefreshLocksAsync ()
async Task< GitResult > FetchAsync ()
async Task< GitResult > PullAsync ()
async Task< GitResult > PushAsync ()
async Task< GitResult > StageAsync (IEnumerable< string > absolutePaths)
async Task< GitResult > UnstageAsync (IEnumerable< string > absolutePaths)
async Task< GitResult > DiscardAsync (IEnumerable< GitChange > changes)
async Task< GitResult > CommitAsync (string message, string description)
async Task< GitResult > LockAsync (string absolutePath)
List< string > FindLockableFiles (string folder)
async Task< LockManyResult > LockManyAsync (IReadOnlyList< string > absolutePaths, Action< int, int >? progress=null)
async Task< LockManyResult > UnlockManyAsync (IReadOnlyList< GitLock > locks)
async Task< GitResult > UnlockAsync (string absolutePath, bool force)

Static Public Member Functions

static GitService Start (string projectPath)

Properties

static ? GitService Current [get]
bool IsAvailable [get]
bool HasLfs [get]
string RepoRoot = "" [get]
DateTime? LastFetch [get]
GitBranchInfo Branch [get]
IReadOnlyCollection< GitChange > Changes [get]
IReadOnlyList< GitLock > Locks [get]
string UserName [get]
bool IsGitHub [get]

Events

Action? StatusChanged
Action? LocksChanged

The documentation for this class was generated from the following file:
  • editor/Git/GitService.cs