Skip to content

Commit c0993e2

Browse files
authored
Merge pull request #21 from koculu/upgrade-zonetree
Upgrade zonetree
2 parents 6d1ec68 + becd87f commit c0993e2

48 files changed

Lines changed: 5382 additions & 5340 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.cs]
12+
13+
# CA1051: Do not declare visible instance fields
14+
dotnet_diagnostic.CA1051.severity = none

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

src/.editorconfig

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
namespace ZoneTree.FullTextSearch.Playground;
1+
namespace ZoneTree.FullTextSearch.Playground;
22

33
public sealed class Program
44
{
5-
static void Main(string[] args)
5+
static void Main(string[] args)
6+
{
7+
using var app = new SearchEngineApp();
8+
if (args.Length > 0)
69
{
7-
using var app = new SearchEngineApp();
8-
if (args.Length > 0)
9-
{
10-
switch (args[0])
11-
{
12-
case "create":
13-
{
14-
app.CreateIndex(app.DefaultIndexPath, app.DefaultFilePattern, false);
15-
break;
16-
}
17-
case "drop":
18-
{
19-
app.DropIndex(false);
20-
break;
21-
}
22-
}
23-
return;
24-
}
25-
app.Run();
10+
switch (args[0])
11+
{
12+
case "create":
13+
{
14+
app.CreateIndex(app.DefaultIndexPath, app.DefaultFilePattern, false);
15+
break;
16+
}
17+
case "drop":
18+
{
19+
app.DropIndex(false);
20+
break;
21+
}
22+
}
23+
return;
2624
}
25+
app.Run();
26+
}
2727
}
2828

0 commit comments

Comments
 (0)