mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
[ijent] IJPL-149878: Enable copying, moving and deletion via IJent
GitOrigin-RevId: c9cfa5c33a4ac553aeab9ed112aaa2671c3c522c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ab45ebd22f
commit
5c9feb90e9
@@ -110,8 +110,8 @@ internal class IjentWslNioFileSystemProvider(
|
||||
originalFsProvider.createLink(link, existing)
|
||||
}
|
||||
|
||||
override fun deleteIfExists(path: Path?): Boolean =
|
||||
originalFsProvider.deleteIfExists(path)
|
||||
override fun deleteIfExists(path: Path): Boolean =
|
||||
ijentFsProvider.deleteIfExists(path.toIjentPath())
|
||||
|
||||
override fun readSymbolicLink(link: Path?): Path =
|
||||
originalFsProvider.readSymbolicLink(link)
|
||||
@@ -149,20 +149,20 @@ internal class IjentWslNioFileSystemProvider(
|
||||
}
|
||||
}
|
||||
|
||||
override fun createDirectory(dir: Path?, vararg attrs: FileAttribute<*>?) {
|
||||
originalFsProvider.createDirectory(dir, *attrs)
|
||||
override fun createDirectory(dir: Path, vararg attrs: FileAttribute<*>?) {
|
||||
ijentFsProvider.createDirectory(dir.toIjentPath(), *attrs)
|
||||
}
|
||||
|
||||
override fun delete(path: Path?) {
|
||||
originalFsProvider.delete(path)
|
||||
override fun delete(path: Path) {
|
||||
ijentFsProvider.delete(path.toIjentPath())
|
||||
}
|
||||
|
||||
override fun copy(source: Path?, target: Path?, vararg options: CopyOption?) {
|
||||
originalFsProvider.copy(source, target, *options)
|
||||
override fun copy(source: Path, target: Path, vararg options: CopyOption?) {
|
||||
ijentFsProvider.copy(source.toIjentPath(), target.toIjentPath(), *options)
|
||||
}
|
||||
|
||||
override fun move(source: Path?, target: Path?, vararg options: CopyOption?) {
|
||||
originalFsProvider.move(source, target, *options)
|
||||
override fun move(source: Path, target: Path, vararg options: CopyOption?) {
|
||||
ijentFsProvider.move(source.toIjentPath(), target.toIjentPath(), *options)
|
||||
}
|
||||
|
||||
override fun isSameFile(path: Path?, path2: Path?): Boolean =
|
||||
|
||||
Reference in New Issue
Block a user