C# Класс GitSharp.Core.WorkDirCheckout

This class handles checking out one or two trees merging with the index (actually a tree too). Three-way merges are no performed. See FailOnConflict.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
WorkDirCheckout ( Repository repo, DirectoryInfo root, Core head, GitIndex index, Core merge ) : System

Create a checkout class for merging and checking our two trees and the index.

WorkDirCheckout ( Repository repo, DirectoryInfo root, GitIndex index, Tree merge ) : System

Create a checkout class for checking out one tree, merging with the index

checkout ( ) : void

Execute this checkout

Приватные методы

Метод Описание
CheckConflictsWithFile ( FileSystemInfo file ) : void
CheckoutOutIndexNoHead ( ) : void
CheckoutTwoTrees ( ) : void
CleanUpConflicts ( ) : void
HasParentBlob ( Tree t, string name ) : bool
ListFiles ( FileSystemInfo file ) : List
ListFiles ( FileSystemInfo dir, ICollection list ) : void
PrescanOneTree ( ) : void
PrescanTwoTrees ( ) : void
ProcessEntry ( TreeEntry h, TreeEntry m, GitIndex i ) : void
RemoveEmptyParents ( FileSystemInfo f ) : void
WorkDirCheckout ( ) : System
WorkDirCheckout ( Repository repo, DirectoryInfo workDir, GitIndex oldIndex, GitIndex newIndex ) : System

Описание методов

WorkDirCheckout() публичный Метод

Create a checkout class for merging and checking our two trees and the index.
public WorkDirCheckout ( Repository repo, DirectoryInfo root, Core head, GitIndex index, Core merge ) : System
repo Repository
root System.IO.DirectoryInfo workdir
head Core
index GitIndex
merge Core
Результат System

WorkDirCheckout() публичный Метод

Create a checkout class for checking out one tree, merging with the index
public WorkDirCheckout ( Repository repo, DirectoryInfo root, GitIndex index, Tree merge ) : System
repo Repository
root System.IO.DirectoryInfo workdir
index GitIndex current index
merge Tree tree to check out
Результат System

checkout() публичный Метод

Execute this checkout
public checkout ( ) : void
Результат void