mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
[site] link to community
This commit is contained in:
parent
0b3b094555
commit
868ceb0dd6
@ -12,7 +12,7 @@ The VCS API was significantly refactored in version 6.0, and this document does
|
||||
|
||||
### FilePath
|
||||
|
||||
A [FilePath](com.intellij.openapi.vcs.FilePath) represents a path to a file or directory on disk or in the VCS repository.
|
||||
A [FilePath](https://github.com/JetBrains/intellij-community/blob/master/platform/vcs-api/vcs-api-core/src/com/intellij/openapi/vcs/FilePath.java) represents a path to a file or directory on disk or in the VCS repository.
|
||||
Unlike a VirtualFile, a FilePath can represent a path to a file which doesn't exist on disk.
|
||||
The main difference between a FilePath and a java.io.File is that a FilePath caches the VirtualFile corresponding to the path, so it can be retrieved without doing a VFS search.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user