C# Class 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.
Mostrar archivo Open project: stschake/GitSharp Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

WorkDirCheckout() public method

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
return System

WorkDirCheckout() public method

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
return System

checkout() public method

Execute this checkout
public checkout ( ) : void
return void