forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFilteringOptions.cs
More file actions
27 lines (24 loc) · 796 Bytes
/
FilteringOptions.cs
File metadata and controls
27 lines (24 loc) · 796 Bytes
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
using LibGit2Sharp.Core;
namespace LibGit2Sharp
{
/// <summary>
/// Allows callers to specify how blob content filters will be applied.
/// </summary>
public sealed class FilteringOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="FilteringOptions"/> class.
/// </summary>
/// <param name="hintPath">The path that a file would be checked out as</param>
public FilteringOptions(string hintPath)
{
Ensure.ArgumentNotNull(hintPath, "hintPath");
this.HintPath = hintPath;
}
/// <summary>
/// The path to "hint" to the filters will be used to apply
/// attributes.
/// </summary>
public string HintPath { get; private set; }
}
}