File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Plugins/Flow.Launcher.Plugin.Explorer/Search/QuickAccessLinks Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,20 @@ public class AccessLink
9
9
public string Path { get ; set ; }
10
10
11
11
public ResultType Type { get ; set ; } = ResultType . Folder ;
12
-
13
- [ JsonIgnore ]
14
- public string Name
12
+
13
+ public string Name { get ; set ; }
14
+
15
+ private string GetPathName ( )
15
16
{
16
- get
17
- {
18
- var path = Path . EndsWith ( Constants . DirectorySeparator ) ? Path [ 0 ..^ 1 ] : Path ;
17
+ var path = Path . EndsWith ( Constants . DirectorySeparator ) ? Path [ 0 ..^ 1 ] : Path ;
19
18
20
- if ( path . EndsWith ( ':' ) )
21
- return path [ 0 ..^ 1 ] + " Drive" ;
19
+ if ( path . EndsWith ( ':' ) )
20
+ return path [ 0 ..^ 1 ] + " Drive" ;
22
21
23
- return path . Split ( new [ ] { System . IO . Path . DirectorySeparatorChar } , StringSplitOptions . None )
24
- . Last ( ) ;
25
- }
22
+ return path . Split ( new [ ] { System . IO . Path . DirectorySeparatorChar } , StringSplitOptions . None )
23
+ . Last ( ) ;
26
24
}
25
+
27
26
}
28
27
29
28
}
You can’t perform that action at this time.
0 commit comments