Method | Description | |
---|---|---|
Daemon ( ) : System |
Configure a daemon to listen on any available network port.
|
|
Daemon ( |
Configure a new daemon for the specified network address.
|
|
ExportDirectory ( |
Recursively export all Git repositories within a directory.
|
|
ExportRepository ( string name, Repository db ) : void |
Add a single repository to the set that is exported by this daemon.
|
|
GetService ( string name ) : GitSharp.Core.Transport.DaemonService |
* Lookup a supported service so it can be reconfigured.
|
|
MatchService ( string cmd ) : GitSharp.Core.Transport.DaemonService | ||
OpenRepository ( string name ) : Repository | ||
Start ( ) : void |
Start this daemon on a background thread.
|
|
Stop ( ) : void |
Stop this daemon.
|
|
isRunning ( ) : bool |
Method | Description | |
---|---|---|
CanExport ( |
||
OpenRepository ( |
||
startClient ( Socket s ) : void |
public Daemon ( |
||
addr | /// Address to listen for connections on. If null, any available /// port will be chosen on all network interfaces. /// | |
return | System |
public ExportDirectory ( |
||
dir |
/// the directory to export. This directory must not itself be a
/// git repository, but any directory below it which has a file
/// named git-daemon-export-ok will be published.
/// |
|
return | void |
public ExportRepository ( string name, Repository db ) : void | ||
name | string | /// name the repository will be published under. /// |
db | Repository | the repository instance. |
return | void |
public GetService ( string name ) : GitSharp.Core.Transport.DaemonService | ||
name | string | /// Name of the service; e.g. "receive-pack"/"git-receive-pack" or /// "upload-pack"/"git-upload-pack". /// |
return | GitSharp.Core.Transport.DaemonService |
public MatchService ( string cmd ) : GitSharp.Core.Transport.DaemonService | ||
cmd | string | |
return | GitSharp.Core.Transport.DaemonService |
public OpenRepository ( string name ) : Repository | ||
name | string | |
return | Repository |