File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public extension FileSystem {
238
238
}
239
239
240
240
func getFileInfo( _ path: AbsolutePath ) throws -> FileInfo {
241
- fatalError ( " This file system currently doesn't support this method " )
241
+ throw FileSystemError . unsupported
242
242
}
243
243
}
244
244
@@ -578,7 +578,7 @@ public class InMemoryFileSystem: FileSystem {
578
578
}
579
579
580
580
public func changeCurrentWorkingDirectory( to path: AbsolutePath ) throws {
581
- fatalError ( " Unsupported " )
581
+ throw FileSystemError . unsupported
582
582
}
583
583
584
584
public var homeDirectory : AbsolutePath {
@@ -812,7 +812,7 @@ public class RerootedFileSystemView: FileSystem {
812
812
}
813
813
814
814
public func changeCurrentWorkingDirectory( to path: AbsolutePath ) throws {
815
- fatalError ( " Unsupported " )
815
+ throw FileSystemError . unsupported
816
816
}
817
817
818
818
public var homeDirectory : AbsolutePath {
You can’t perform that action at this time.
0 commit comments