@@ -115,51 +115,51 @@ extension FileManager {
115
115
return [ ]
116
116
}
117
117
118
- case . downloadsDirectory:
119
- guard domain == . user else { return [ ] }
120
- return [ FileManager . url ( for: FOLDERID_Downloads) ]
121
-
122
- case . userDirectory:
123
- guard domain == . user else { return [ ] }
124
- return [ FileManager . url ( for: FOLDERID_UserProfiles) ]
125
-
126
- case . moviesDirectory:
127
- guard domain == . user else { return [ ] }
128
- return [ FileManager . url ( for: FOLDERID_Videos) ]
129
-
130
- case . musicDirectory:
131
- guard domain == . user else { return [ ] }
132
- return [ FileManager . url ( for: FOLDERID_Music) ]
133
-
134
- case . picturesDirectory:
135
- guard domain == . user else { return [ ] }
136
- return [ FileManager . url ( for: FOLDERID_PicturesLibrary) ]
137
-
138
- case . sharedPublicDirectory:
139
- guard domain == . user else { return [ ] }
140
- return [ FileManager . url ( for: FOLDERID_Public) ]
141
-
142
- case . trashDirectory:
143
- guard domain == . user else { return [ ] }
144
- return [ FileManager . url ( for: FOLDERID_RecycleBinFolder) ]
145
-
146
- // None of these are supported outside of Darwin:
147
- case . applicationDirectory,
148
- . demoApplicationDirectory,
149
- . developerApplicationDirectory,
150
- . adminApplicationDirectory,
151
- . libraryDirectory,
152
- . developerDirectory,
153
- . documentationDirectory,
154
- . coreServiceDirectory,
155
- . inputMethodsDirectory,
156
- . preferencePanesDirectory,
157
- . applicationScriptsDirectory,
158
- . allApplicationsDirectory,
159
- . allLibrariesDirectory,
160
- . printerDescriptionDirectory,
161
- . itemReplacementDirectory:
162
- return [ ]
118
+ case . downloadsDirectory:
119
+ guard domain == . user else { return [ ] }
120
+ return [ FileManager . url ( for: FOLDERID_Downloads) ]
121
+
122
+ case . userDirectory:
123
+ guard domain == . user else { return [ ] }
124
+ return [ FileManager . url ( for: FOLDERID_UserProfiles) ]
125
+
126
+ case . moviesDirectory:
127
+ guard domain == . user else { return [ ] }
128
+ return [ FileManager . url ( for: FOLDERID_Videos) ]
129
+
130
+ case . musicDirectory:
131
+ guard domain == . user else { return [ ] }
132
+ return [ FileManager . url ( for: FOLDERID_Music) ]
133
+
134
+ case . picturesDirectory:
135
+ guard domain == . user else { return [ ] }
136
+ return [ FileManager . url ( for: FOLDERID_PicturesLibrary) ]
137
+
138
+ case . sharedPublicDirectory:
139
+ guard domain == . user else { return [ ] }
140
+ return [ FileManager . url ( for: FOLDERID_Public) ]
141
+
142
+ case . trashDirectory:
143
+ guard domain == . user else { return [ ] }
144
+ return [ FileManager . url ( for: FOLDERID_RecycleBinFolder) ]
145
+
146
+ // None of these are supported outside of Darwin:
147
+ case . applicationDirectory,
148
+ . demoApplicationDirectory,
149
+ . developerApplicationDirectory,
150
+ . adminApplicationDirectory,
151
+ . libraryDirectory,
152
+ . developerDirectory,
153
+ . documentationDirectory,
154
+ . coreServiceDirectory,
155
+ . inputMethodsDirectory,
156
+ . preferencePanesDirectory,
157
+ . applicationScriptsDirectory,
158
+ . allApplicationsDirectory,
159
+ . allLibrariesDirectory,
160
+ . printerDescriptionDirectory,
161
+ . itemReplacementDirectory:
162
+ return [ ]
163
163
}
164
164
}
165
165
0 commit comments