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
A search in the SwiftPM code base shows that there are a significant number of references to localFileSystem (294 at the time of this writing). Outside of tests or executables, SwiftPM should be using the FileSystem instance it was provided rather than localFileSystem, the latter of which breaks the abstraction.
There are also a number of places where localFileSystem is used as a default argument. We should limit such uses to end-user-facing parts of the library, or even eliminate them entirely, because it's harder to audit callers for missing-but-intended arguments.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 21cdaa69e8e455354383b9e23c9b8050
Issue Description:
A search in the SwiftPM code base shows that there are a significant number of references to localFileSystem (294 at the time of this writing). Outside of tests or executables, SwiftPM should be using the FileSystem instance it was provided rather than localFileSystem, the latter of which breaks the abstraction.
There are also a number of places where localFileSystem is used as a default argument. We should limit such uses to end-user-facing parts of the library, or even eliminate them entirely, because it's harder to audit callers for missing-but-intended arguments.
The text was updated successfully, but these errors were encountered: