forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRepositoryOptions.cs
56 lines (52 loc) · 2.33 KB
/
RepositoryOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
namespace LibGit2Sharp
{
/// <summary>
/// Provides optional additional information to the Repository to be opened.
/// </summary>
public sealed class RepositoryOptions
{
/// <summary>
/// Overrides the probed location of the working directory of a standard repository,
/// or, combined with <see cref="IndexPath"/>, would
/// allow to work against a bare repository as it was a standard one.
/// <para>
/// The path has to lead to an existing directory.
/// </para>
/// </summary>
public string WorkingDirectoryPath { get; set; }
/// <summary>
/// Overrides the probed location of the Index file of a standard repository,
/// or, combined with <see cref="WorkingDirectoryPath"/>, would
/// allow to work against a bare repository as it was a standard one.
/// <para>
/// The path has either to lead to an existing valid Index file,
/// or to a non existent Index file which will be eventually created.
/// </para>
/// </summary>
public string IndexPath { get; set; }
/// <summary>
/// Overrides the probed location of the Global configuration file of a repository.
/// <para>
/// The path has either to lead to an existing valid configuration file,
/// or to a non existent configuration file which will be eventually created.
/// </para>
/// </summary>
public string GlobalConfigurationLocation { get; set; }
/// <summary>
/// Overrides the probed location of the XDG configuration file of a repository.
/// <para>
/// The path has either to lead to an existing valid configuration file,
/// or to a non existent configuration file which will be eventually created.
/// </para>
/// </summary>
public string XdgConfigurationLocation { get; set; }
/// <summary>
/// Overrides the probed location of the System configuration file of a repository.
/// <para>
/// The path has to lead to an existing valid configuration file,
/// or to a non existent configuration file which will be eventually created.
/// </para>
/// </summary>
public string SystemConfigurationLocation { get; set; }
}
}