8/16/2023 0 Comments Intellij find deleted file![]() The contents of files and the lists of files in directories are stored in the snapshot only if that specific information was accessed - otherwise, only file metadata like name, length, timestamp, attributes is stored. If the information is available in the snapshot, the snapshot data is returned. If some information is requested through the VFS APIs and is not available in the snapshot, it is loaded from disk and stored into the snapshot. The snapshot is application level, not project level - so, if some file (for example, a class in the JDK) is referenced by multiple projects, only one copy of its contents will be stored in the VFS.Īll VFS access operations go through the snapshot. The snapshot stores only those files which have been requested at least once through the VFS API, and is asynchronously updated to match the changes happening on the disk. ![]() In order to provide the last two features, the VFS manages a persistent snapshot of some of the contents of the user’s hard disk. Providing a possibility to associate additional persistent data with a file in the VFS.Tracking file modifications and providing both old and new versions of the file content when a modification is detected.Providing a universal API for working with files regardless of their actual location (on disk, in archive, on a HTTP server etc.).The virtual file system (VFS) is a component of IntelliJ Platform that encapsulates most of its activity for working with files. Virtual Files Edit page Virtual File System
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |