This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +249
-268
lines changed
src/System.IO.FileSystem/src Expand file tree Collapse file tree 4 files changed +249
-268
lines changed Original file line number Diff line number Diff line change 43
43
<Compile Include =" System\IO\IFileSystemObject.cs" />
44
44
<Compile Include =" System\IO\Iterator.cs" />
45
45
<Compile Include =" System\IO\PathHelpers.cs" />
46
+ <Compile Include =" System\IO\PathPair.cs" />
46
47
<Compile Include =" System\IO\ReadLinesIterator.cs" />
47
48
<Compile Include =" System\IO\SearchOption.cs" />
48
49
<Compile Include =" System\IO\SearchTarget.cs" />
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft. All rights reserved.
2
+ // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+ namespace System . IO
5
+ {
6
+ internal struct PathPair
7
+ {
8
+ internal readonly string UserPath ;
9
+ internal readonly string FullPath ;
10
+
11
+ internal PathPair ( string userPath , string fullPath )
12
+ {
13
+ UserPath = userPath ;
14
+ FullPath = fullPath ;
15
+ }
16
+ }
17
+ }
Original file line number Diff line number Diff line change @@ -524,18 +524,6 @@ private IEnumerator<T> Enumerate(Interop.libc.SafeDirHandle dirHandle)
524
524
}
525
525
}
526
526
527
- private struct PathPair
528
- {
529
- internal readonly string UserPath ;
530
- internal readonly string FullPath ;
531
-
532
- internal PathPair ( string userPath , string fullPath )
533
- {
534
- UserPath = userPath ;
535
- FullPath = fullPath ;
536
- }
537
- }
538
-
539
527
private static string NormalizeSearchPattern ( string searchPattern )
540
528
{
541
529
if ( searchPattern == "." || searchPattern == "*.*" )
You can’t perform that action at this time.
0 commit comments