Skip to content

Track closed files in the VFS #611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VeryMilkyJoe
Copy link
Collaborator

Add data structure which represents a closed file in the VFS. This structure only stores the language kind of the closed file as of now.

The VFS now stores VFS entries which can be either open or closed files.

This will be used in HLS, to be able to tell whether we are responsible for files which were already closed.

@VeryMilkyJoe VeryMilkyJoe force-pushed the watch-closed-files branch 3 times, most recently from 349249a to 3367359 Compare June 9, 2025 13:20
We are keeping track of this in order to be able to get information
on virtual files after they were closed.
-}
data VirtualFileGhost = VirtualFileGhost
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cute, but perhaps better to be boring: ClosedVirtualFile?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow that name never came to mind, that is much better!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought you were going to change the name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I forgot to push the changes 🙈

@VeryMilkyJoe
Copy link
Collaborator Author

@michaelpj Is there anything that still needs to be done, before we can merge this?

Add data structure which represents a closed file in the VFS.
This structure only stores the language kind of the closed file as of
now.

The VFS now stores VFS entries which can be either open or closed files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants