File tree 2 files changed +25
-1
lines changed
src/MarkdownSnippets/Reading/Exclusions
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,29 @@ public static class DefaultDirectoryExclusions
55
55
{
56
56
var suffix = Path .GetFileName (path ).ToLowerInvariant ();
57
57
return suffix is
58
+
59
+ // source control
58
60
" .git" or
61
+
62
+ // ide temp files
59
63
" .vs" or
64
+ " .vscode" or
60
65
" .idea" or
66
+
67
+ // angular cache
68
+ " .angular" or
69
+
70
+ // package cache
61
71
" packages" or
62
72
" node_modules" or
73
+
74
+ // build output
63
75
" bin" or
64
76
" obj" ;
65
77
}
66
78
}
67
79
```
68
- <sup ><a href =' /src/MarkdownSnippets/Reading/Exclusions/DefaultDirectoryExclusions.cs#L1-L17 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-DefaultDirectoryExclusions.cs ' title =' Start of snippet ' >anchor</a ></sup >
80
+ <sup ><a href =' /src/MarkdownSnippets/Reading/Exclusions/DefaultDirectoryExclusions.cs#L1-L29 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-DefaultDirectoryExclusions.cs ' title =' Start of snippet ' >anchor</a ></sup >
69
81
<!-- endSnippet -->
70
82
71
83
Original file line number Diff line number Diff line change @@ -6,11 +6,23 @@ public static bool ShouldExcludeDirectory(string path)
6
6
{
7
7
var suffix = Path . GetFileName ( path ) . ToLowerInvariant ( ) ;
8
8
return suffix is
9
+
10
+ // source control
9
11
".git" or
12
+
13
+ // ide temp files
10
14
".vs" or
15
+ ".vscode" or
11
16
".idea" or
17
+
18
+ // angular cache
19
+ ".angular" or
20
+
21
+ // package cache
12
22
"packages" or
13
23
"node_modules" or
24
+
25
+ // build output
14
26
"bin" or
15
27
"obj" ;
16
28
}
You can’t perform that action at this time.
0 commit comments