blob: f06d5a2a4553cb3abcdf9ba25f328f08b6471119 (
plain)
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; }
}
}
|