forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRepositoryOpenFlags.cs
More file actions
27 lines (25 loc) · 988 Bytes
/
RepositoryOpenFlags.cs
File metadata and controls
27 lines (25 loc) · 988 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 System;
namespace LibGit2Sharp.Core
{
/// <summary>
/// Option flags for `git_repository_open_ext`
/// </summary>
[Flags]
internal enum RepositoryOpenFlags
{
/// <summary>
/// Only open the repository if it can be
/// * immediately found in the start_path. Do not walk up from the
/// * start_path looking at parent directories.
/// </summary>
NoSearch = (1 << 0), /* GIT_REPOSITORY_OPEN_NO_SEARCH */
/// <summary>
/// Unless this flag is set, open will not
/// * continue searching across filesystem boundaries (i.e. when `st_dev`
/// * changes from the `stat` system call). (E.g. Searching in a user's home
/// * directory "/home/user/source/" will not return "/.git/" as the found
/// * repo if "/" is a different filesystem than "/home".)
/// </summary>
CrossFS = (1 << 1), /* GIT_REPOSITORY_OPEN_CROSS_FS */
}
}