C# Class Git.Repository.Repo

It represent all the repository data
Exibir arquivo Open project: igorgue/git-sharp

Public Methods

Method Description
CopyAll ( DirectoryInfo source, DirectoryInfo target ) : void

Copy all the content of a directory to another

Init ( Configuration config, string permissions ) : void
Init ( string templatePath, string repoPath, string permissions ) : void

Here we create a empty repository described here(in UNIX) /usr/share/git-core/templates

Repo ( ) : System
Repo ( Configuration conf ) : System

Method Details

CopyAll() public static method

Copy all the content of a directory to another
public static CopyAll ( DirectoryInfo source, DirectoryInfo target ) : void
source System.IO.DirectoryInfo /// A source directory ///
target System.IO.DirectoryInfo /// A target direcotory ///
return void

Init() public static method

public static Init ( Configuration config, string permissions ) : void
config Configuration
permissions string
return void

Init() public static method

Here we create a empty repository described here(in UNIX) /usr/share/git-core/templates
public static Init ( string templatePath, string repoPath, string permissions ) : void
templatePath string
repoPath string
permissions string
return void

Repo() public method

public Repo ( ) : System
return System

Repo() public method

public Repo ( Configuration conf ) : System
conf Configuration
return System