Summary
Adds one or more files to the repository.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Containing Type
- Repository
Syntax
public void Add(string path, AddCommand command = null)
Parameters
| Name | Type | Description |
|---|---|---|
| path | string | The path to a file, or a path containing wildcards to files to add to the repository. |
| command | AddCommand | The information object for the add command, containing the paths of the files to add. |
Return Value
| Type | Description |
|---|---|
| void |