You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Foundation/NSFileManager.swift
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -70,10 +70,7 @@ open class FileManager: NSObject {
70
70
71
71
/* Returns the default singleton instance.
72
72
*/
73
-
internalstaticletdefaultInstance=FileManager()
74
-
openclassfunc `default`()->FileManager{
75
-
return defaultInstance
76
-
}
73
+
publicstaticlet`default`=FileManager()
77
74
78
75
/* Returns an NSArray of NSURLs locating the mounted volumes available on the computer. The property keys that can be requested are available in NSURL.
79
76
*/
@@ -461,7 +458,7 @@ open class FileManager: NSObject {
0 commit comments