IJent cleanup: implement IjentNioFileSystemProvider.newFileSystem(Path, Map)

GitOrigin-RevId: 9d9c9803320defad1d87e77a59ab864e01e33be8
This commit is contained in:
Vladimir Lagunov
2024-05-16 16:55:55 +02:00
committed by intellij-monorepo-bot
parent f1d07ce761
commit a22f1c994e

View File

@@ -70,6 +70,9 @@ class IjentNioFileSystemProvider : FileSystemProvider() {
return fs
}
override fun newFileSystem(path: Path, env: MutableMap<String, *>?): IjentNioFileSystem =
newFileSystem(path.toUri(), env)
override fun getFileSystem(uri: URI): IjentNioFileSystem {
typicalUriChecks(uri)
return registeredFileSystems[IjentId(uri.host)] ?: throw FileSystemNotFoundException()